https://bugzilla.wikimedia.org/show_bug.cgi?id=49419

       Web browser: ---
            Bug ID: 49419
           Summary: ipblocks query from EditPage unconditionally goes to
                    master
           Product: MediaWiki
           Version: 1.22-git
          Hardware: All
                OS: All
            Status: NEW
          Keywords: platformeng
          Severity: normal
          Priority: Unprioritized
         Component: Page editing
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to