Aaron Schulz has submitted this change and it was merged.

Change subject: Enabled multiwrites for ceph/swift.
......................................................................


Enabled multiwrites for ceph/swift.

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

Approvals:
  Aaron Schulz: Verified; Looks good to me, approved



diff --git a/wmf-config/filebackend.php b/wmf-config/filebackend.php
index 5dbc429..f2d437f 100644
--- a/wmf-config/filebackend.php
+++ b/wmf-config/filebackend.php
@@ -142,10 +142,11 @@
        'lockManager' => 'nullLockManager', # LocalFile uses FOR UPDATE
        'fileJournal' => array( 'class' => 'DBFileJournal', 'wiki' => 
$wgDBname, 'ttlDays' => $wmfFileJournalTTL ),
        'backends'    => array(
-               array( 'template' => 'local-swift', 'isMultiMaster' => true )
+               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,9 +156,10 @@
        'fileJournal' => array( 'class' => 'DBFileJournal', 'wiki' => 
'commonswiki', 'ttlDays' => $wmfFileJournalTTL ),
        'backends'    => array(
                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',
@@ -166,6 +168,7 @@
        'lockManager' => 'nullLockManager',
        'backends'    => array(
                array( 'template' => 'global-swift', 'isMultiMaster' => true ),
+               array( 'template' => 'global-ceph' )
        ),
        'syncChecks'  => ( 1 | 4 ) // (size & sha1)
 );

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

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

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

Reply via email to