Last modified: 2013-06-11 16:59:37 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.