mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-07 04:49:48 +00:00
PT-87 Added --skip-check-slave-lag to pt-table-checksum
This commit is contained in:
@@ -11934,6 +11934,13 @@ ignored.
|
||||
You can change the list of hosts while OSC is executing:
|
||||
if you change the contents of the DSN table, OSC will pick it up very soon.
|
||||
|
||||
=item --skip-check-slave-lag
|
||||
|
||||
type: DSN; repeatable: yes
|
||||
|
||||
DSN to skip when checking slave lag. It can be used multiple times.
|
||||
Example: --skip-check-slave-lag h=127.1,P=12345 --skip-check-slave-lag h=127.1,P=12346
|
||||
|
||||
=item --slave-user
|
||||
|
||||
type: string
|
||||
|
@@ -9707,14 +9707,6 @@ sub main {
|
||||
}
|
||||
}
|
||||
|
||||
if ( $slave_lag_cxns && scalar @$slave_lag_cxns ) {
|
||||
for my $slave (@$slave_lag_cxns) {
|
||||
printf("Checking lag on %s -> %s:%s\n", $slave->name(), $slave->{dsn}->{h}, $slave->{dsn}->{P});
|
||||
}
|
||||
} else {
|
||||
print "Not checking slave lag because no slaves were found or they were set to be skipped\n";
|
||||
}
|
||||
|
||||
# #####################################################################
|
||||
# Possibly check replication slaves and exit.
|
||||
# #####################################################################
|
||||
|
Reference in New Issue
Block a user