Details
Description
SERVER-71201 changed the movePrimary protocol, introducing the acquisition of the Recoverable Critical Section on the recipient shard as a way to prevent operations on it. However, before trying to acquire the RCS we should drain any ongoing DDL operation over that namespace, because they might be holding the RCS.
Attachments
Issue Links
- is caused by
-
SERVER-71201 Prevent operations on the recipient while the movePrimary is in progress
-
- Closed
-
- is related to
-
SERVER-73391 Use recoverable critical section for drop database
-
- Closed
-