the enable_gtid script does not enable the features durably

Bug #1171986 reported by Giuseppe Maxia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Sandbox
Fix Released
Undecided
Unassigned

Bug Description

The script restarts the servers with new options, but the options are not durable. It should be rewritten in such a way that it looks like:

#!/bin/bash
cd /home/tungsten/sandboxes/rsandbox_5_7_1
OPTIONS="master-info-repository=table relay-log-info-repository=table gtid_mode=ON log-slave-updates enforce-gtid-consistency"
for NODE in master node1 node2
do
    for OPTION in $OPTIONS
    do
        echo "$OPTION" >> $NODE/my.sandbox.cnf
    done
done
./restart_all

Changed in mysql-sandbox:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.