mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-26 01:02:25 +08:00
First working enhanced --set-vars in pt-osc: no "default: ...", instead default values are under MAGIC_set_vars, picked up by OptionParser and passed to DSNParser. Also increaes --retries from 3 to 10. TODO: more testing.
This commit is contained in:
@@ -42,7 +42,7 @@ elsif ( !@{$master_dbh->selectall_arrayref("show databases like 'sakila'")} ) {
|
||||
# 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.
|
||||
my $master_dsn = 'h=127.1,P=12345,p=msandbox';
|
||||
my @args = (qw(--lock-wait-timeout 3));
|
||||
my @args = (qw(--set-vars innodb_lock_wait_timeout=3));
|
||||
my $row;
|
||||
my $output;
|
||||
my $exit_status;
|
||||
|
||||
Reference in New Issue
Block a user