[MediaWiki-commits] [Gerrit] operations/puppet[production]: mariadb: Added gtid_domain_id variable

2016-12-06 Thread Marostegui (Code Review)
Marostegui has submitted this change and it was merged.

Change subject: mariadb: Added gtid_domain_id variable
..


mariadb: Added gtid_domain_id variable

Adding the gtid_domain_id variable to labs hosts.
This variable is not used not, but it is harmless to have it enable in
this role.
It will be used in the future once we switch to GTID and multisource

Bug: T149418
Bug: T152194
Change-Id: Ia3a47e96d391f0e7742a271fcd800802ff10fd3e
---
M templates/mariadb/labsdb-replica.my.cnf.erb
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Jcrespo: Looks good to me, but someone else must approve
  Marostegui: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/templates/mariadb/labsdb-replica.my.cnf.erb 
b/templates/mariadb/labsdb-replica.my.cnf.erb
index dfe8f39..21a44b3 100644
--- a/templates/mariadb/labsdb-replica.my.cnf.erb
+++ b/templates/mariadb/labsdb-replica.my.cnf.erb
@@ -25,6 +25,8 @@
 port   = 3306
 datadir= <%= @datadir %>
 tmpdir = <%= @tmpdir %>
+# needed for multisource replication + GTID.
+gtid_domain_id = <%= @server_id %>
 server_id  = <%= @server_id %>
 read_only  = 0
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia3a47e96d391f0e7742a271fcd800802ff10fd3e
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Marostegui 
Gerrit-Reviewer: Jcrespo 
Gerrit-Reviewer: Marostegui 
Gerrit-Reviewer: jenkins-bot <>

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


[MediaWiki-commits] [Gerrit] operations/puppet[production]: mariadb: Added gtid_domain_id variable

2016-12-05 Thread Marostegui (Code Review)
Marostegui has uploaded a new change for review.

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

Change subject: mariadb: Added gtid_domain_id variable
..

mariadb: Added gtid_domain_id variable

Adding the gtid_domain_id variable to labs hosts.
This variable is not used not, but it is harmless to have it enable in
this role.
It will be used in the future once we switch to GTID and multisource

Bug: T149418
Bug: T152194
Change-Id: Ia3a47e96d391f0e7742a271fcd800802ff10fd3e
---
M templates/mariadb/labsdb-replica.my.cnf.erb
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/03/325303/1

diff --git a/templates/mariadb/labsdb-replica.my.cnf.erb 
b/templates/mariadb/labsdb-replica.my.cnf.erb
index dfe8f39..21a44b3 100644
--- a/templates/mariadb/labsdb-replica.my.cnf.erb
+++ b/templates/mariadb/labsdb-replica.my.cnf.erb
@@ -25,6 +25,8 @@
 port   = 3306
 datadir= <%= @datadir %>
 tmpdir = <%= @tmpdir %>
+# needed for multisource replication + GTID.
+gtid_domain_id = <%= @server_id %>
 server_id  = <%= @server_id %>
 read_only  = 0
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia3a47e96d391f0e7742a271fcd800802ff10fd3e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Marostegui 

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