Marostegui has uploaded a new change for review.

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

Change subject: db-eqiad.php: Repool db1086 after the ALTER table
......................................................................

db-eqiad.php: Repool db1086 after the ALTER table

db1086 needed to be depooled to get an ALTER table. db1079 took the
traffic for a while.
db1086 comes back with its original weight before the operation (500)
and gets added to the API service to make sure we have HA.
db1079 gets a bit less weight for general traffic as it is serving
API with weight 100 too.

Bug:T141951
Change-Id: I51f99157872fc31520a68b66d39c21eadf0cdc59
---
M wmf-config/db-eqiad.php
1 file changed, 4 insertions(+), 3 deletions(-)


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

diff --git a/wmf-config/db-eqiad.php b/wmf-config/db-eqiad.php
index 07e9aa9..55b0675 100644
--- a/wmf-config/db-eqiad.php
+++ b/wmf-config/db-eqiad.php
@@ -167,8 +167,8 @@
                'db1034' => 1,   # 1.4TB  64GB, watchlist, recentchanges, 
contributions, logpager
 #              'db1039' => 0,   # 1.4TB  64GB
                'db1062' => 1,   # 2.8TB 128GB, watchlist, recentchanges, 
contributions, logpager
-               'db1079' => 350, # 3.6TB 512GB, api
-#              'db1086' => 350, # 3.6TB 512GB,
+               'db1079' => 300, # 3.6TB 512GB, api
+               'db1086' => 500, # 3.6TB 512GB, api
                'db1094' => 500, # 3.6TB 512GB
        ],
        'silver' => [
@@ -407,7 +407,8 @@
                        'db1028' => 1,
                ],
                'api' => [
-                       'db1079' => 1,
+                       'db1079' => 100,
+                       'db1086' => 1,
                ],
                'watchlist' => [
                        'db1034' => 1,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I51f99157872fc31520a68b66d39c21eadf0cdc59
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Marostegui <maroste...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to