mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-26 05:58:16 +00: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"
|
||||
|
@@ -62,10 +62,6 @@ sub reset_repl_db {
|
||||
$master_dbh->do("use $repl_db");
|
||||
}
|
||||
|
||||
diag(`$trunk/sandbox/test-env reset >/dev/null`);
|
||||
$sb->wipe_clean($master_dbh);
|
||||
diag(`rm $outfile >/dev/null 2>&1`);
|
||||
|
||||
# ############################################################################
|
||||
# Default checksum and results. The tool does not technically require any
|
||||
# options on well-configured systems (which the test env cannot be). With
|
||||
|
Reference in New Issue
Block a user