mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-02-27 02:00:57 +08:00
PT-2340 - Support MySQL 8.4
- Removed lib/Percona/Test.pm, lib/Safeguards.pm, t/lib/Safeguards.t, because they are not used anymore - Removed word "slave" from lib
This commit is contained in:
@@ -129,6 +129,13 @@ sub get_rules {
|
||||
return $args{variables}->{init_slave} ? 1 : 0;
|
||||
},
|
||||
},
|
||||
{
|
||||
id => 'init_replica',
|
||||
code => sub {
|
||||
my ( %args ) = @_;
|
||||
return $args{variables}->{init_replica} ? 1 : 0;
|
||||
},
|
||||
},
|
||||
{
|
||||
id => 'innodb_additional_mem_pool_size',
|
||||
code => sub {
|
||||
@@ -375,6 +382,13 @@ sub get_rules {
|
||||
return _var_gt($args{variables}->{slave_net_timeout}, 60);
|
||||
},
|
||||
},
|
||||
{
|
||||
id => 'replica_net_timeout',
|
||||
code => sub {
|
||||
my ( %args ) = @_;
|
||||
return _var_gt($args{variables}->{replica_net_timeout}, 60);
|
||||
},
|
||||
},
|
||||
{
|
||||
id => 'slave_skip_errors',
|
||||
code => sub {
|
||||
@@ -383,6 +397,14 @@ sub get_rules {
|
||||
&& $args{variables}->{slave_skip_errors} ne 'OFF' ? 1 : 0;
|
||||
},
|
||||
},
|
||||
{
|
||||
id => 'replica_skip_errors',
|
||||
code => sub {
|
||||
my ( %args ) = @_;
|
||||
return $args{variables}->{replica_skip_errors}
|
||||
&& $args{variables}->{replica_skip_errors} ne 'OFF' ? 1 : 0;
|
||||
},
|
||||
},
|
||||
{
|
||||
id => 'sort_buffer_size-1',
|
||||
code => sub {
|
||||
|
||||
Reference in New Issue
Block a user