Reedy has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/366839 )
Change subject: Move some trailing ] onto newlines to make more balanced
......................................................................
Move some trailing ] onto newlines to make more balanced
Change-Id: Id4f7920fb0d811a3281ca3fd4cfa6bc7db06b255
---
M wmf-config/db-codfw.php
M wmf-config/db-eqiad.php
2 files changed, 28 insertions(+), 14 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/39/366839/1
diff --git a/wmf-config/db-codfw.php b/wmf-config/db-codfw.php
index b59742b..0e695ae 100644
--- a/wmf-config/db-codfw.php
+++ b/wmf-config/db-codfw.php
@@ -175,43 +175,50 @@
's1' => [
'lagDetectionMethod' => 'pt-heartbeat',
'lagDetectionOptions' => [
- 'conds' => [ 'shard' => 's1', 'datacenter' =>
$wmfMasterDatacenter ] ],
+ 'conds' => [ 'shard' => 's1', 'datacenter' =>
$wmfMasterDatacenter ]
+ ],
'useGTIDs' => true
],
's2' => [
'lagDetectionMethod' => 'pt-heartbeat',
'lagDetectionOptions' => [
- 'conds' => [ 'shard' => 's2', 'datacenter' =>
$wmfMasterDatacenter ] ],
+ 'conds' => [ 'shard' => 's2', 'datacenter' =>
$wmfMasterDatacenter ]
+ ],
'useGTIDs' => true
],
'DEFAULT' /* s3 */ => [
'lagDetectionMethod' => 'pt-heartbeat',
'lagDetectionOptions' => [
- 'conds' => [ 'shard' => 's3', 'datacenter' =>
$wmfMasterDatacenter ] ],
+ 'conds' => [ 'shard' => 's3', 'datacenter' =>
$wmfMasterDatacenter ]
+ ],
'useGTIDs' => true
],
's4' => [
'lagDetectionMethod' => 'pt-heartbeat',
'lagDetectionOptions' => [
- 'conds' => [ 'shard' => 's4', 'datacenter' =>
$wmfMasterDatacenter ] ],
+ 'conds' => [ 'shard' => 's4', 'datacenter' =>
$wmfMasterDatacenter ]
+ ],
'useGTIDs' => true
],
's5' => [
'lagDetectionMethod' => 'pt-heartbeat',
'lagDetectionOptions' => [
- 'conds' => [ 'shard' => 's5', 'datacenter' =>
$wmfMasterDatacenter ] ],
+ 'conds' => [ 'shard' => 's5', 'datacenter' =>
$wmfMasterDatacenter ]
+ ],
'useGTIDs' => true
],
's6' => [
'lagDetectionMethod' => 'pt-heartbeat',
'lagDetectionOptions' => [
- 'conds' => [ 'shard' => 's6', 'datacenter' =>
$wmfMasterDatacenter ] ],
+ 'conds' => [ 'shard' => 's6', 'datacenter' =>
$wmfMasterDatacenter ]
+ ],
'useGTIDs' => true
],
's7' => [
'lagDetectionMethod' => 'pt-heartbeat',
'lagDetectionOptions' => [
- 'conds' => [ 'shard' => 's7', 'datacenter' =>
$wmfMasterDatacenter ] ],
+ 'conds' => [ 'shard' => 's7', 'datacenter' =>
$wmfMasterDatacenter ]
+ ],
'useGTIDs' => true
],
],
diff --git a/wmf-config/db-eqiad.php b/wmf-config/db-eqiad.php
index c3dc19c..ce1b2d5 100644
--- a/wmf-config/db-eqiad.php
+++ b/wmf-config/db-eqiad.php
@@ -190,43 +190,50 @@
's1' => [
'lagDetectionMethod' => 'pt-heartbeat',
'lagDetectionOptions' => [
- 'conds' => [ 'shard' => 's1', 'datacenter' =>
$wmfMasterDatacenter ] ],
+ 'conds' => [ 'shard' => 's1', 'datacenter' =>
$wmfMasterDatacenter ]
+ ],
'useGTIDs' => true
],
's2' => [
'lagDetectionMethod' => 'pt-heartbeat',
'lagDetectionOptions' => [
- 'conds' => [ 'shard' => 's2', 'datacenter' =>
$wmfMasterDatacenter ] ],
+ 'conds' => [ 'shard' => 's2', 'datacenter' =>
$wmfMasterDatacenter ]
+ ],
'useGTIDs' => true
],
'DEFAULT' /* s3 */ => [
'lagDetectionMethod' => 'pt-heartbeat',
'lagDetectionOptions' => [
- 'conds' => [ 'shard' => 's3', 'datacenter' =>
$wmfMasterDatacenter ] ],
+ 'conds' => [ 'shard' => 's3', 'datacenter' =>
$wmfMasterDatacenter ]
+ ],
'useGTIDs' => true
],
's4' => [
'lagDetectionMethod' => 'pt-heartbeat',
'lagDetectionOptions' => [
- 'conds' => [ 'shard' => 's4', 'datacenter' =>
$wmfMasterDatacenter ] ],
+ 'conds' => [ 'shard' => 's4', 'datacenter' =>
$wmfMasterDatacenter ]
+ ],
'useGTIDs' => true
],
's5' => [
'lagDetectionMethod' => 'pt-heartbeat',
'lagDetectionOptions' => [
- 'conds' => [ 'shard' => 's5', 'datacenter' =>
$wmfMasterDatacenter ] ],
+ 'conds' => [ 'shard' => 's5', 'datacenter' =>
$wmfMasterDatacenter ]
+ ],
'useGTIDs' => true
],
's6' => [
'lagDetectionMethod' => 'pt-heartbeat',
'lagDetectionOptions' => [
- 'conds' => [ 'shard' => 's6', 'datacenter' =>
$wmfMasterDatacenter ] ],
+ 'conds' => [ 'shard' => 's6', 'datacenter' =>
$wmfMasterDatacenter ]
+ ],
'useGTIDs' => true
],
's7' => [
'lagDetectionMethod' => 'pt-heartbeat',
'lagDetectionOptions' => [
- 'conds' => [ 'shard' => 's7', 'datacenter' =>
$wmfMasterDatacenter ] ],
+ 'conds' => [ 'shard' => 's7', 'datacenter' =>
$wmfMasterDatacenter ]
+ ],
'useGTIDs' => true
],
],
--
To view, visit https://gerrit.wikimedia.org/r/366839
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id4f7920fb0d811a3281ca3fd4cfa6bc7db06b255
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits