mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-07 21:09:14 +00:00
Merge pull request #410 from percona/PT-1630
PT-1630 Fixed wait for slaves on PXC
This commit is contained in:
@@ -11317,7 +11317,9 @@ sub main {
|
||||
# MySQL 8+ replication is slower than 5.7 and the old wait_for_last_checksum alone
|
||||
# was failing. The new wait_for_slaves checks that Read_Master_Log_Pos on slaves is
|
||||
# greather or equal Position in the master
|
||||
wait_for_slaves(master_dbh => $args{Cxn}->dbh(), master_slave => $ms, slaves => $slaves);
|
||||
if (!$args{Cxn}->is_cluster_node()) {
|
||||
wait_for_slaves(master_dbh => $args{Cxn}->dbh(), master_slave => $ms, slaves => $slaves);
|
||||
}
|
||||
wait_for_last_checksum(
|
||||
tbl => $tbl,
|
||||
repl_table => $repl_table,
|
||||
|
Reference in New Issue
Block a user