Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL), 11.1(EOL), 11.2(EOL)
-
None
Description
When adding a second semi-sync replica to a primary, it will hang at connect time (without receiving any events), until the primary receives an ACK from the first (existing) replica. This can be indefinite if no new transactions occur on the primary.
This is because the Ack_receiver thread locks m_mutex while it calls listener.listen_on_sockets(). Then when the new dupm connection is initializing, it tries to lock m_mutex in Ack_receiver::add_slave(), and will hang due to the Ack_receivers hold on it.
Attachments
Issue Links
- relates to
-
MDEV-32551 "Read semi-sync reply magic number error" warnings on master
- Closed