mirror of
https://github.com/MariaDB/server.git
synced 2025-11-06 13:10:12 +03:00
The problem is that the binlog position is updated before Executed_log_entries and Slave_SQL_State. So, it's possible to hit the moment when MASTER_POS_WAIT (and hence sync_with_master) already returned success, but Slave_SQL_State and Executed_log_entries were not modified yet. Fixing it by adding a wait on the expected Executed_log_entries value.
2.2 KiB
2.2 KiB