Last modified: 2013-06-11 16:59:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51419, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49419 - ipblocks query from EditPage unconditionally goes to master
ipblocks query from EditPage unconditionally goes to master
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: ---
Assigned To: Tim Starling
: performance, platformeng
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-10 23:30 UTC by Tim Starling
Modified: 2013-06-11 16:59 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tim Starling 2013-06-10 23:30:19 UTC
While it's important that IP blocks on page save are fetched from the master DB (c.f. bug 41702), it would be nice if IP blocks on edit page views were fetched from the slave. This was the scheme I suggested in the context of bug 1138, and it was briefly implemented, but the optimisation was later accidentally lost during refactoring.

Current profiling indicates that this query is about 10% of wall clock time spent doing master queries, possibly plus connection overhead if this is the only master query being done on edit.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links