Page MenuHomePhabricator

Move writes on read requests to the job queue
Closed, DuplicatePublic

Description

GET/HEAD requests to MediaWiki should avoid doing DB writes, which happens in a few spots (protected title purges, cascading protection updates, PageTriage updating prefs on view).

Such updates should be enqueued in jobs instead. In the multi-DC active/warm case, a local job queue that enqueues to the primary could be used. Simpler is to just use lazyPush() in JobQueueGroup.

Event Timeline

aaron raised the priority of this task from to Needs Triage.
aaron updated the task description. (Show Details)
aaron added subscribers: aaron, ori.
Aklapper triaged this task as Medium priority.Feb 2 2015, 6:27 PM
aaron set Security to None.