* Skip COMMIT query when no write queries have been done.
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 17 Feb 2009 14:06:42 +0000 (14:06 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 17 Feb 2009 14:06:42 +0000 (14:06 +0000)
commit8653947b065aa57164a38fb5d4cdf0e1b8717f70
tree24090f555aef0be5aebe84e7a8d1722cda73f4d4
parentfda50654b33218cb167e6cd5f732892d3540dfdc
* Skip COMMIT query when no write queries have been done.
* Improvement to ChronologyProtector: only record the master position if a write query was done. This should help to avoid the worst of the ChronologyProtector side-effects, such as having action=raw CSS requests block for a time equivalent to the slave lag on every page view, while maintaining the benefits, like preventing a 404 from being displayed after page creation.
includes/db/Database.php
includes/db/LBFactory.php
includes/db/LoadBalancer.php