bail out when pt-slave-restart has gtid enabled and multiple replication threads are enabled

This commit is contained in:
Kenny Gryp
2014-04-30 16:53:04 +02:00
parent 5a28a60030
commit b3c6a0aac2
4 changed files with 80 additions and 5 deletions

View File

@@ -118,7 +118,7 @@ make_sandbox() {
echo "enforce_gtid_consistency" >> /tmp/$port/my.sandbox.cnf
fi
if [ -n "$REPLICATION_THREADS" ]; then
echo "slave-parallel-workers=$REPLICATION_THREADS" >> /tmp/$port/my.sandbox.cnf
echo "slave_parallel_workers=$REPLICATION_THREADS" >> /tmp/$port/my.sandbox.cnf
fi
if [ -n "$EXTRA_DEFAULTS_FILE" ]; then