mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-16 07:18:07 +00:00
Changed replica_parallel_workers in configuration for 8.0 and 8.4 to o, because wiat_for_replicas is buggy for multi-threaded slaves
This commit is contained in:
@@ -40,3 +40,6 @@ binlog_format = STATEMENT
|
|||||||
#performance-schema-instrument='wait/lock/metadata/sql/mdl=ON'
|
#performance-schema-instrument='wait/lock/metadata/sql/mdl=ON'
|
||||||
#performance-schema-instrument='transaction=ON'
|
#performance-schema-instrument='transaction=ON'
|
||||||
secure-file-priv =
|
secure-file-priv =
|
||||||
|
|
||||||
|
# wait_for_replica buggy on multi-threaded replica
|
||||||
|
slave-parallel-workers=0
|
||||||
|
@@ -40,3 +40,6 @@ binlog_format = STATEMENT
|
|||||||
#performance-schema-instrument='wait/lock/metadata/sql/mdl=ON'
|
#performance-schema-instrument='wait/lock/metadata/sql/mdl=ON'
|
||||||
#performance-schema-instrument='transaction=ON'
|
#performance-schema-instrument='transaction=ON'
|
||||||
secure-file-priv =
|
secure-file-priv =
|
||||||
|
|
||||||
|
# wait_for_replica buggy on multi-threaded replica
|
||||||
|
replica-parallel-workers=0
|
||||||
|
@@ -106,7 +106,7 @@ unlike(
|
|||||||
# #############################################################################
|
# #############################################################################
|
||||||
# Done.
|
# Done.
|
||||||
# #############################################################################
|
# #############################################################################
|
||||||
# Resetting replicas, because this test sporadically fails
|
diag("Resetting replicas, because this test sporadically fails");
|
||||||
$replica1_dbh->do("STOP ${replica_name}");
|
$replica1_dbh->do("STOP ${replica_name}");
|
||||||
$replica2_dbh->do("STOP ${replica_name}");
|
$replica2_dbh->do("STOP ${replica_name}");
|
||||||
$dbh->do("RESET ${source_reset}");
|
$dbh->do("RESET ${source_reset}");
|
||||||
@@ -115,7 +115,9 @@ $replica1_dbh->do("START ${replica_name}");
|
|||||||
$replica2_dbh->do("RESET ${replica_name}");
|
$replica2_dbh->do("RESET ${replica_name}");
|
||||||
$replica2_dbh->do("START ${replica_name}");
|
$replica2_dbh->do("START ${replica_name}");
|
||||||
|
|
||||||
|
diag("Replicas reset, syncing");
|
||||||
$sb->wait_for_replicas();
|
$sb->wait_for_replicas();
|
||||||
|
diag("Cleaning up");
|
||||||
$sb->wipe_clean($dbh);
|
$sb->wipe_clean($dbh);
|
||||||
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
|
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
|
||||||
exit;
|
exit;
|
||||||
|
Reference in New Issue
Block a user