Commit a97a0aed authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Node should restart its slave threads whenever it rejoins the cluster

parent e105c8ea
...@@ -27,6 +27,7 @@ EOF ...@@ -27,6 +27,7 @@ EOF
echo "wsrep_gtid_mode = ON" >> /run/mysqld/wsrep.conf echo "wsrep_gtid_mode = ON" >> /run/mysqld/wsrep.conf
echo "wsrep_gtid_domain_id = $WSREP_GTID" >> /run/mysqld/wsrep.conf echo "wsrep_gtid_domain_id = $WSREP_GTID" >> /run/mysqld/wsrep.conf
echo "log_slave_updates = ON" >> /run/mysqld/wsrep.conf echo "log_slave_updates = ON" >> /run/mysqld/wsrep.conf
echo "wsrep_restart_slave = ON" >> /run/mysqld/wsrep.conf
fi fi
if [ ! -z "$GTID" ]; then if [ ! -z "$GTID" ]; then
echo "gtid_domain_id = $GTID" >> /run/mysqld/wsrep.conf echo "gtid_domain_id = $GTID" >> /run/mysqld/wsrep.conf
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment