Volans has uploaded a new change for review.

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

Change subject: Exclude db1047 (multisource slave) from dbtree
......................................................................

Exclude db1047 (multisource slave) from dbtree

For multisource slaves the data in the tendril table 'slave_status' is
saved with the shard prefix (i.e. 's1.seconds_behind_master') and is not
found by the current dbtree software.

Adding db1047 (multisource slave, analytics host) to the list of already
excluded multisource slaves.

Bug: T109401
Change-Id: I146dd235af6d943fb169c7e8c10a7ddf52302d52
---
M inc/tree.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/software/dbtree 
refs/changes/96/291696/1

diff --git a/inc/tree.php b/inc/tree.php
index 0135808..1c5241e 100644
--- a/inc/tree.php
+++ b/inc/tree.php
@@ -86,7 +86,7 @@
     public function generate()
     {
         $this->hosts = sql::query('tendril.servers')
-            ->where_not_regexp('host', '^(dbstore|labsdb|db1069)')
+            ->where_not_regexp('host', '^(dbstore|labsdb|db1069|db1047)')
             ->fetch_all();
 
         $this->qps = sql::query('tendril.global_status_log gsl')

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I146dd235af6d943fb169c7e8c10a7ddf52302d52
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/dbtree
Gerrit-Branch: master
Gerrit-Owner: Volans <[email protected]>

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

Reply via email to