mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-15 07:55:51 +00:00
pt-online-schema-chnage: Added plugin feature 'override_slavelag_check' which allows modules to create their own ReplicaLagWaiter callback.
I fixed the current tests.
This commit is contained in:
@@ -96,4 +96,11 @@ sub before_exit {
|
||||
print "PLUGIN before_exit\n";
|
||||
}
|
||||
|
||||
sub override_slavelag_check {
|
||||
my ($self, %args) = @_;
|
||||
print "PLUGIN override_slavelag_check\n";
|
||||
|
||||
return sub { return 0; };
|
||||
}
|
||||
|
||||
1;
|
||||
|
Reference in New Issue
Block a user