mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-24 19:34:09 +00:00
Make pt-table-checksum/relication_filters.t and progress.t stable. Add PerconaTest::wait_until_no_lag(). Fix sandbox/test-env reset.
This commit is contained in:
@@ -354,18 +354,16 @@ case $opt in
|
||||
# don't replicate to new sandbox servers. This makes creating new
|
||||
# sandbox servers a lot faster. There's no check if this works or
|
||||
# not, so... yeah.
|
||||
/tmp/12347/use -e "STOP SLAVE"
|
||||
/tmp/12346/use -e "STOP SLAVE"
|
||||
/tmp/12347/use -e "STOP SLAVE; FLUSH SLAVE;"
|
||||
/tmp/12346/use -e "STOP SLAVE; FLUSH SLAVE; FLUSH MASTER;"
|
||||
/tmp/12345/use -e "FLUSH MASTER"
|
||||
|
||||
/tmp/12346/use -e "RESET MASTER"
|
||||
/tmp/12345/use -e "RESET MASTER"
|
||||
|
||||
/tmp/12347/use -e "change master to master_host='127.0.0.1', master_user='msandbox', master_password='msandbox', master_port=12346, master_log_file='mysql-bin.000001', master_log_pos=0"
|
||||
/tmp/12346/use -e "change master to master_host='127.0.0.1', master_user='msandbox', master_password='msandbox', master_port=12345, master_log_file='mysql-bin.000001', master_log_pos=0"
|
||||
|
||||
/tmp/12347/use -e "START SLAVE"
|
||||
/tmp/12346/use -e "CHANGE MASTER TO master_host='127.0.0.1', master_user='msandbox', master_password='msandbox', master_port=12345, master_log_file='mysql-bin.000001', master_log_pos=0"
|
||||
/tmp/12346/use -e "START SLAVE"
|
||||
|
||||
/tmp/12347/use -e "CHANGE MASTER TO master_host='127.0.0.1', master_user='msandbox', master_password='msandbox', master_port=12346, master_log_file='mysql-bin.000001', master_log_pos=0"
|
||||
/tmp/12347/use -e "START SLAVE"
|
||||
|
||||
exit_status=0
|
||||
;;
|
||||
version)
|
||||
|
||||
Reference in New Issue
Block a user