Protect WAN cache sets() against uncommitted data
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 21 Oct 2015 05:55:51 +0000 (22:55 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Sun, 25 Oct 2015 00:21:22 +0000 (17:21 -0700)
commitdc646b464cf7db8aa756f3bd107c51a8d513e51f
tree4c29f9fdf16a65d36f88f53bc4ce5c115757727e
parente2c850b56e926c293f8c25fbb5d197dcdb270fa2
Protect WAN cache sets() against uncommitted data

This generally only effects wikis with no slave DBs,
but also matters if the master has non-zero LB load.
If the master ends up being used for DB_SLAVE, care
should be shown for cache-aside writes

Interesting WAN cache events are now logged.

Change-Id: I2cd8e84138263c13ea23beb9ab3d7562340e1fd3
includes/DefaultSettings.php
includes/db/DBConnRef.php
includes/db/Database.php
includes/db/IDatabase.php
includes/libs/objectcache/WANObjectCache.php
includes/objectcache/ObjectCache.php