mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
MDEV-7402 'reset master' hangs, waits for signalled COND_xid_list
Using a boolean flag for 'there is a RESET MASTER in progress' doesn't work very well for multiple concurrent RESET MASTER statements. Changed to a counter.
This commit is contained in:
@@ -470,7 +470,7 @@ class MYSQL_BIN_LOG: public TC_LOG, private MYSQL_LOG
|
||||
anyway). Instead we should signal COND_xid_list whenever a new binlog
|
||||
checkpoint arrives - when all have arrived, RESET MASTER will complete.
|
||||
*/
|
||||
bool reset_master_pending;
|
||||
uint reset_master_pending;
|
||||
ulong mark_xid_done_waiting;
|
||||
|
||||
/* LOCK_log and LOCK_index are inited by init_pthread_objects() */
|
||||
|
||||
Reference in New Issue
Block a user