Closed
Bug 880173
Opened 11 years ago
Closed 11 years ago
Treestatus staging and prod should use different memcached keys since the memcached server is shared
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
Details
Attachments
(1 file)
2.29 KB,
patch
|
catlee
:
review+
|
Details | Diff | Splinter Review |
Broken out from bug 879732. (In reply to Chris Turra [:cturra] from comment #6) > :edmorley - one thought that i have is if stage and prod are sharing > memcache keys? i see in the treestatus.wsgi file we define the > memcached.servers, but don't see any memcache key config. is it possible > both these environments are using the same keys? and if so, can we add a > config option to prepend the keys with treestatus_<env> or something similar? (In reply to Chris AtLee [:catlee] from comment #10) > The memcached keys do support prefixing, but it's not exposed in a useful > way right now. I assumed the memcached servers for dev/stage/prod were all > separate. > > It shouldn't be too hard to support a new config value in the .wsgi that > gets passed down to modify memcachePrefix. > > https://github.com/mozilla/treestatus/blob/master/treestatus/app.py#L27 Side note: This explains a lot of the weirdness I've seen periodically when using staging! doh!
Assignee | ||
Comment 1•11 years ago
|
||
Updated•11 years ago
|
Attachment #759265 -
Flags: review?(catlee) → review+
Assignee | ||
Comment 2•11 years ago
|
||
Thank you :-) https://github.com/mozilla/treestatus/commit/0a1583f1f19ed732b1d4bb0abd08b8556b49935e I'll request that the configs be updated prior to push to staging/prod, in the push request bug.
Assignee | ||
Comment 3•11 years ago
|
||
In production :-)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Webtools → Tree Management
Updated•9 years ago
|
Product: Tree Management → Release Engineering
Updated•2 years ago
|
Component: Applications: TreeStatus → General
You need to log in
before you can comment on or make changes to this bug.
Description
•