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

Change subject: eventlogging: Enable gtid_domainid on eventlogging
......................................................................


eventlogging: Enable gtid_domainid on eventlogging

After enabling gtid_domain_id on all the misc shards that have
replication. I want to enable it on the eventlogging host.
There is no replication chain there, but for consistency and just in
case we add slaves in the future.

Bug: T149418
Change-Id: I20ec0b2dc2d136d2fc0d93c811aaca9da7b0443c
---
M templates/mariadb/eventlogging.my.cnf.erb
1 file changed, 8 insertions(+), 0 deletions(-)

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



diff --git a/templates/mariadb/eventlogging.my.cnf.erb 
b/templates/mariadb/eventlogging.my.cnf.erb
index bfe5800..0ccff98 100644
--- a/templates/mariadb/eventlogging.my.cnf.erb
+++ b/templates/mariadb/eventlogging.my.cnf.erb
@@ -28,6 +28,14 @@
 datadir    = <%= @datadir %>
 tmpdir     = <%= @tmpdir %>
 server_id  = <%= @server_id %>
+
+# gtid_domain_id flag is needed for multisource replication and GTID.
+# Strictly it is only needed on masters or servers that can potentially be
+# masters but for consistency it should be set in all of them.
+# https://mariadb.com/kb/en/mariadb/gtid/
+
+gtid_domain_id  = <%= @gtid_domain_id %>
+
 <% if @sql_mode != '' -%>
 sql-mode   = <%= @sql_mode %>
 <% end -%>

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I20ec0b2dc2d136d2fc0d93c811aaca9da7b0443c
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Marostegui <maroste...@wikimedia.org>
Gerrit-Reviewer: Jcrespo <jcre...@wikimedia.org>
Gerrit-Reviewer: Marostegui <maroste...@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