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:
Sveta Smirnova
2024-07-25 23:37:22 +03:00
parent b9a5231c9b
commit 8cbb5a0c8f
24 changed files with 576 additions and 1443 deletions

View File

@@ -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 {