Page MenuHomePhabricator

[Task] Look into Wikibase use of memcached to see what needs broadcasted purges
Closed, ResolvedPublic

Description

regarding https://www.mediawiki.org/wiki/Requests_for_comment/Master_%26_slave_datacenter_strategy_for_MediaWiki, we need to help look into Wikibase use of memcached to see what needs broadcasted purges.

per aaron, "hopefully wancache will be enough, but if something is needed let me know" and we can ask him more about this.

Event Timeline

aude raised the priority of this task from to Needs Triage.
aude updated the task description. (Show Details)
aude added a project: Wikidata.
aude subscribed.
aude renamed this task from Look into Wikibase use of memcached to see what needs broadcasted purges to [Task] Look into Wikibase use of memcached to see what needs broadcasted purges.Sep 10 2015, 10:58 AM
aude set Security to None.

@aaron do you think there is still anything for the Wikibase team to investigate here?
If not I might just close this.

I see EntityRevisionCache and CacheAwarePropertyInfoStore seems to use set() on invalidation. Also, EntityRevisionCache
and CachingEntityRevisionLookup, and PopulateInterwiki seems to call delete() on a non-WAN cache instance.

CacheAwarePropertyInfoStore is solved with T218197

Krinkle claimed this task.
Krinkle subscribed.

In general when WANCache/getWithSet and purge is used, it works correctly both for single-DC and multi-DC. Using raw sets or deletes to local memcached has been discouraged for a while now, and we've have many years of 2 switchovers a year without memcached being wiped as precaution.

Presumed solved as of T270223: FY2021-2022: Enable basic Multi-DC operations for read traffic (tracking). If bugs are found, new tasks can be filed for specific issues.