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:
Sveta Smirnova
2024-12-14 20:19:03 +03:00
parent 1d3a44c5da
commit d9b0219d9e
3 changed files with 9 additions and 1 deletions

View File

@@ -40,3 +40,6 @@ binlog_format = STATEMENT
#performance-schema-instrument='wait/lock/metadata/sql/mdl=ON'
#performance-schema-instrument='transaction=ON'
secure-file-priv =
# wait_for_replica buggy on multi-threaded replica
slave-parallel-workers=0

View File

@@ -40,3 +40,6 @@ binlog_format = STATEMENT
#performance-schema-instrument='wait/lock/metadata/sql/mdl=ON'
#performance-schema-instrument='transaction=ON'
secure-file-priv =
# wait_for_replica buggy on multi-threaded replica
replica-parallel-workers=0

View File

@@ -106,7 +106,7 @@ unlike(
# #############################################################################
# Done.
# #############################################################################
# Resetting replicas, because this test sporadically fails
diag("Resetting replicas, because this test sporadically fails");
$replica1_dbh->do("STOP ${replica_name}");
$replica2_dbh->do("STOP ${replica_name}");
$dbh->do("RESET ${source_reset}");
@@ -115,7 +115,9 @@ $replica1_dbh->do("START ${replica_name}");
$replica2_dbh->do("RESET ${replica_name}");
$replica2_dbh->do("START ${replica_name}");
diag("Replicas reset, syncing");
$sb->wait_for_replicas();
diag("Cleaning up");
$sb->wipe_clean($dbh);
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
exit;