Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/61741


Change subject: Turned autoResync back on again for multiwrite backend.
......................................................................

Turned autoResync back on again for multiwrite backend.

Change-Id: I264457be33f8705e6900355503fe3f9510ad06cb
---
M wmf-config/filebackend.php
1 file changed, 7 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/41/61741/1

diff --git a/wmf-config/filebackend.php b/wmf-config/filebackend.php
index f2d437f..ca6477f 100644
--- a/wmf-config/filebackend.php
+++ b/wmf-config/filebackend.php
@@ -142,11 +142,12 @@
        'lockManager' => 'nullLockManager', # LocalFile uses FOR UPDATE
        'fileJournal' => array( 'class' => 'DBFileJournal', 'wiki' => 
$wgDBname, 'ttlDays' => $wmfFileJournalTTL ),
        'backends'    => array(
+               # DO NOT change the master backend unless it is fully trusted 
or autoRsync is off
                array( 'template' => 'local-swift', 'isMultiMaster' => true ),
                array( 'template' => 'local-ceph' )
        ),
        'syncChecks'  => ( 1 | 4 ), // (size & sha1)
-       #'autoResync'  => true // bug 39221
+       'autoResync'  => true // bug 39221
 );
 $wgFileBackends[] = array(
        'class'       => 'FileBackendMultiWrite',
@@ -155,11 +156,12 @@
        'lockManager' => 'nullLockManager', // just thumbnails
        'fileJournal' => array( 'class' => 'DBFileJournal', 'wiki' => 
'commonswiki', 'ttlDays' => $wmfFileJournalTTL ),
        'backends'    => array(
+               # DO NOT change the master backend unless it is fully trusted 
or autoRsync is off
                array( 'template' => 'shared-swift', 'isMultiMaster' => true ),
                array( 'template' => 'shared-ceph' )
        ),
        'syncChecks'  => ( 1 | 4 ), // (size & sha1)
-       #'autoResync'  => true // bug 39221
+       'autoResync'  => true // bug 39221
 );
 $wgFileBackends[] = array(
        'class'       => 'FileBackendMultiWrite',
@@ -167,10 +169,12 @@
        'wikiId'      => "global-data",
        'lockManager' => 'nullLockManager',
        'backends'    => array(
+               # DO NOT change the master backend unless it is fully trusted 
or autoRsync is off
                array( 'template' => 'global-swift', 'isMultiMaster' => true ),
                array( 'template' => 'global-ceph' )
        ),
-       'syncChecks'  => ( 1 | 4 ) // (size & sha1)
+       'syncChecks'  => ( 1 | 4 ), // (size & sha1)
+       'autoResync'  => true
 );
 /* end multiwrite backend config */
 

-- 
To view, visit https://gerrit.wikimedia.org/r/61741
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I264457be33f8705e6900355503fe3f9510ad06cb
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to