Page MenuHomePhabricator

when sharing memcached objects between wikis, include repo ID and version
Closed, ResolvedPublic

Description

We use memcached for several things ()full entities, property labels, soon property data types, etc). The memcached entries are shared between wikis.

To avoid conflicts when a) multiple repos exist or b) different versions of the software are in use, the wiki ID of the repo and the version ID of the software making the entry should be included in the cache key.


Version: unspecified
Severity: major

Details

Reference
bz50303

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:42 AM
bzimport set Reference to bz50303.
bzimport added a subscriber: Unknown Object (MLST).

wiki id of the repo is definitely needed.

at some point soon, we'll want test2 to use test.wikidata as it's repo. In that case, we definitely don't want wikipedias to share memcached data with test2 and serve test data to the wikipedias!

Change 71595 had a related patch set uploaded by Daniel Kinzler:
(bug 50303) improve cache key for shared cache.

https://gerrit.wikimedia.org/r/71595

Change 71595 merged by jenkins-bot:
(bug 50303) improve cache key for shared cache.

https://gerrit.wikimedia.org/r/71595

Verified in Wikidata demo time July 17th