mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-12-18 02:06:49 +08:00
Make sandbox servers log their actions, remove test-env reset from pt-table-checksum/basics.t to stop replication breakage
This commit is contained in:
@@ -24,3 +24,4 @@ report-host = 127.0.0.1
|
||||
report-port = PORT
|
||||
log-error = mysqld.log
|
||||
innodb_lock_wait_timeout = 3
|
||||
log
|
||||
|
||||
@@ -24,3 +24,4 @@ report-host = 127.0.0.1
|
||||
report-port = PORT
|
||||
log-error = mysqld.log
|
||||
innodb_lock_wait_timeout = 3
|
||||
log
|
||||
|
||||
@@ -24,3 +24,4 @@ report-host = 127.0.0.1
|
||||
report-port = PORT
|
||||
log-error = mysqld.log
|
||||
innodb_lock_wait_timeout = 3
|
||||
log
|
||||
|
||||
@@ -24,3 +24,4 @@ report-host = 127.0.0.1
|
||||
report-port = PORT
|
||||
log-error = mysqld.log
|
||||
innodb_lock_wait_timeout = 3
|
||||
general_log
|
||||
|
||||
@@ -340,6 +340,7 @@ 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.
|
||||
echo "RESETTING SLAVE. This is DANGEROUS and DOESN'T WORK. FIXME." >&2
|
||||
/tmp/12347/use -e "STOP SLAVE; FLUSH SLAVE;"
|
||||
/tmp/12346/use -e "STOP SLAVE; FLUSH SLAVE; FLUSH MASTER;"
|
||||
/tmp/12345/use -e "FLUSH MASTER"
|
||||
|
||||
Reference in New Issue
Block a user