Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
None
Description
Checking if the replication parallel workers are idle (rpl_parallel::workers_idle()) currently iterates through each parallel entry data structure, and locking each to view its last committed sub_id. This can be improved by using the pattern adopted in MDEV-30619 and comparing (rli->last_inuse_relaylog->queued_count == rli->last_inuse_relaylog->dequeued_count).
This is a potential candidate for back-porting as well.
Attachments
Issue Links
- duplicates
-
MDEV-10653 SHOW SLAVE STATUS Can Deadlock an Errored Slave
- Closed