Page MenuHomePhabricator

Make BagOStuff key encoding more consistent
Closed, ResolvedPublic

Description

Right now I see a few problems:

  • The default encoding can make things with " " and "_" collide
  • The proxy classes (ReplicatedBagOStuff, MultiWriteBagOStuff,...) assume that the backing stores use the same key encoding
  • The proxy classes do not have their keyspace respected (the backend store ones are used)
  • Checking if a key is global or not should be easy, though there is not enough of a contract to make proper assumptions (this will be useful for "coalesceKeys" in WANObjectCache)

Details

Event Timeline

Change 589465 had a related patch set uploaded (by Aaron Schulz; owner: Aaron Schulz):
[mediawiki/core@master] objectcache: make BagOStuff key encoding more consistent

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

Krinkle moved this task from Doing (old) to Blocked (old) on the Performance-Team board.

Change 589465 merged by jenkins-bot:
[mediawiki/core@master] objectcache: make BagOStuff key encoding more consistent

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