Added replication=async option to FileBackendMultiWrite
authorAaron Schulz <aschulz@wikimedia.org>
Sun, 20 Sep 2015 04:09:26 +0000 (21:09 -0700)
committerOri.livneh <ori@wikimedia.org>
Thu, 1 Oct 2015 23:30:41 +0000 (23:30 +0000)
commit169b7b98b5c43db55acfc7e31b089300c0026c80
tree3a0e74f0d062808625153db51873bdaf51ea6ba4
parentb7eb243d9204a40977761fb2453070825dfeab97
Added replication=async option to FileBackendMultiWrite

* This will defer writes to non-master backends till the
  end up the web request. This is useful for multi-DC setups.

Bug: T112708
Change-Id: I118c07764dd4a4f4f2590d4548238df12860e750
includes/deferred/DeferredUpdates.php
includes/filebackend/FileBackendMultiWrite.php
tests/phpunit/includes/filebackend/FileBackendTest.php