summaryrefslogtreecommitdiff
path: root/mysql-test/suite/galera/galera_2nodes.cnf
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2016-06-27 18:30:07 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2016-06-27 18:30:07 -0400
commit7ff44b1a832b005264994cbdfc52f93f69b92cdc (patch)
treecc09930e6cab8690a3faf5f5b8d8de02650d08aa /mysql-test/suite/galera/galera_2nodes.cnf
parentaa9c8f2a0d5d26103433a6c4bf614559cd4be310 (diff)
downloadmariadb-git-7ff44b1a832b005264994cbdfc52f93f69b92cdc.tar.gz
MDEV-10161: wsrep_sync_wait not enabled when set to 1 in config file
Since wsrep_sync_wait & wsrep_causal_reads variables are related, they are always kept in sync whenever one of them changes. Same is tried on server start, where wsrep_sync_wait get updated based on wsrep_causal_reads' value. But, since wsrep_causal_reads is OFF by default, wsrep_sync_wait's value gets modified and loses its WSREP_SYNC_WAIT_BEFORE_READ bit. Fixed by syncing wsrep_sync_wait & wsrep_causal_reads values individually on server start in mysqld_get_one_option() based on command line arguments used.
Diffstat (limited to 'mysql-test/suite/galera/galera_2nodes.cnf')
-rw-r--r--mysql-test/suite/galera/galera_2nodes.cnf1
1 files changed, 0 insertions, 1 deletions
diff --git a/mysql-test/suite/galera/galera_2nodes.cnf b/mysql-test/suite/galera/galera_2nodes.cnf
index 1dbaad4f699..b8c61bc814d 100644
--- a/mysql-test/suite/galera/galera_2nodes.cnf
+++ b/mysql-test/suite/galera/galera_2nodes.cnf
@@ -9,7 +9,6 @@ default-storage-engine=innodb
wsrep-provider=@ENV.WSREP_PROVIDER
wsrep_node_address=127.0.0.1
# enforce read-committed characteristics across the cluster
-wsrep-causal-reads=ON
wsrep-sync-wait=7
[mysqld.1]