From: Aaron Schulz Date: Sun, 20 Sep 2015 04:11:53 +0000 (-0700) Subject: Made some FileBackendMultiWrite docs more accurate X-Git-Tag: 1.31.0-rc.0~9954^2 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=49e9910d0ff7e063995453ad41762e2d8d03e566;p=lhc%2Fweb%2Fwiklou.git Made some FileBackendMultiWrite docs more accurate Change-Id: I14c152601fef3d3c75e7ea7aac72ff87c9f5fd52 --- diff --git a/includes/filebackend/FileBackendMultiWrite.php b/includes/filebackend/FileBackendMultiWrite.php index d27d2c6850..ba89204d0e 100644 --- a/includes/filebackend/FileBackendMultiWrite.php +++ b/includes/filebackend/FileBackendMultiWrite.php @@ -33,8 +33,10 @@ * Only use this class when transitioning from one storage system to another. * * Read operations are only done on the 'master' backend for consistency. - * Write operations are performed on all backends, in the order defined. - * If an operation fails on one backend it will be rolled back from the others. + * Write operations are performed on all backends, starting with the master. + * This makes a best-effort to have transactional semantics, but since requests + * may sometimes fail, the use of "autoResync" or background scripts to fix + * inconsistencies is important. * * @ingroup FileBackend * @since 1.19