Page MenuHomePhabricator

Avoid master queries on HEAD/GET MediaWiki requests
Closed, DuplicatePublic

Description

For warm/active DC case, we want to avoid cross-DC queries when the master is in another data center. We should cut down on master queries for this reason. Also, doing master queries on read makes the master a SPOF on read requests (not just write requests).

Event Timeline

aaron raised the priority of this task from to Needs Triage.
aaron updated the task description. (Show Details)
aaron subscribed.

IIRC the biggest danger here is getting stale pages (from slave) rendered and stuck in the parsercache or varnish cache layer. More careful cache purging after save combined with a cleaner post-save display that doesn't rely on the save having propagated before a redirect might help with this.

Aklapper triaged this task as Medium priority.Feb 2 2015, 6:27 PM

Change 351790 had a related patch set uploaded (by Aaron Schulz; owner: Aaron Schulz):
[mediawiki/extensions/CentralAuth@master] Add $flags parameter to renameInProgressOn()

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