mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-22 11:54:54 +00:00
Remove --lock-wait-timeout from pt-table-checksum; make innodb_lock_waitout=1 a --set-vars default. Update all the ptc tests.
This commit is contained in:
@@ -41,13 +41,13 @@ else {
|
||||
}
|
||||
|
||||
# The sandbox servers run with lock_wait_timeout=3 and it's not dynamic
|
||||
# so we need to specify --lock-wait-timeout=3 else the tool will die.
|
||||
# so we need to specify --set-vars innodb_lock_wait_timeout=3 else the tool will die.
|
||||
# And --max-load "" prevents waiting for status variables. Setting
|
||||
# --chunk-size may help prevent the tool from running too fast and finishing
|
||||
# before the TEST_WISHLIST job below finishes. (Or, it might just make things
|
||||
# worse. This is a random stab in the dark. There is a problem either way.)
|
||||
my $master_dsn = 'h=127.1,P=12345,u=msandbox,p=msandbox';
|
||||
my @args = ($master_dsn, qw(--lock-wait-timeout 3),
|
||||
my @args = ($master_dsn, qw(--set-vars innodb_lock_wait_timeout=3),
|
||||
'--progress', 'time,1', '--max-load', '', '--chunk-size', '500');
|
||||
my $output;
|
||||
my $row;
|
||||
|
Reference in New Issue
Block a user