Jcrespo has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/370789 )

Change subject: dbstore: Migrate dbstore2001 to dbstore_multiinstance role
......................................................................


dbstore: Migrate dbstore2001 to dbstore_multiinstance role

dbstore2001 is mostly broken, migrate it to multi-instance model,
similarly to how dbstore2002 is working now.

Bug: T168409
Change-Id: I13307c06be768dffc2009fbaf6dedd68a4219370
---
M manifests/site.pp
1 file changed, 1 insertion(+), 9 deletions(-)

Approvals:
  jenkins-bot: Verified
  Jcrespo: Looks good to me, approved



diff --git a/manifests/site.pp b/manifests/site.pp
index dac041e..1ddb1c0 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -691,15 +691,7 @@
 }
 
 node 'dbstore2001.codfw.wmnet' {
-    # 24h delay on all repl streams
-    class { 'role::mariadb::dbstore2':
-        lag_warn     => 90000,
-        lag_crit     => 180000,
-        # Delayed slaves legitimately and cleanly (errno = 0) stop the SQL 
thread, so
-        # don't spam Icinga with warnings. This will not block properly 
critical alerts.
-        warn_stopped => false,
-    }
-    include ::base::firewall
+    role(mariadb::dbstore_multiinstance)
 }
 
 node 'dbstore2002.codfw.wmnet' {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I13307c06be768dffc2009fbaf6dedd68a4219370
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jcrespo <jcre...@wikimedia.org>
Gerrit-Reviewer: Jcrespo <jcre...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to