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

Change subject: dbstore.my.cnf: Enable gtid_domain_id
......................................................................


dbstore.my.cnf: Enable gtid_domain_id

gtid_domain_id is going (and it is being enabled) on production, so the
dbstore servers need it too.

Bug: T149418
Change-Id: I5ce06904e808a8a069ea4de3248d11382f364985
---
M modules/role/templates/mariadb/mysqld_config/dbstore.my.cnf.erb
1 file changed, 8 insertions(+), 0 deletions(-)

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



diff --git a/modules/role/templates/mariadb/mysqld_config/dbstore.my.cnf.erb 
b/modules/role/templates/mariadb/mysqld_config/dbstore.my.cnf.erb
index 8b9c9cb..bd98282 100644
--- a/modules/role/templates/mariadb/mysqld_config/dbstore.my.cnf.erb
+++ b/modules/role/templates/mariadb/mysqld_config/dbstore.my.cnf.erb
@@ -34,6 +34,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 %>
+
 read_only = 0
 
 # enable socket authentication

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5ce06904e808a8a069ea4de3248d11382f364985
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Marostegui <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Marostegui <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to