986: Multiple instance of reviewboard on the same server causes troubles with a cache mechanism

marc****@gmai***** (Google Code) (Is this you? Claim this profile.)
chipx86
chipx86
April 4, 2009
What's the URL of the page containing the problem?
not public

What steps will reproduce the problem?
1. run memcached -v -vv
2. run two instances of review board by manage.py for instance
3. access to any page and have a look the the memcached output

What is the expected output? What do you see instead?
whatever the site you will access, the key used for the configuration
settings will always be:
siteconfig-1-last-updated

What operating system are you using? What browser?
any/any

Please provide any additional information below.
In fact, there is a solution: having a separate memcached daemon for each 
instance of django applicative server who uses the djblets.
But is it really accurate?
The problem comes from djblets.siteconfig.models, line 118.
Do you think that including the web root or web complete url to build the 
key should be a better idea than one instance of memcached per reviewboard?
chipx86
#1 chipx86
Yeah, we need to fix this.
  • +Confirmed
  • -Priority-Medium
    +Priority-Critical
    +Milestone-Release1.0
chipx86
#2 chipx86
Fixed in Djblets r12012.
  • -Confirmed
    +Fixed
  • +Component-Settings
    +Djblets
  • +chipx86