[SERVER-71201] Prevent operations on the recipient while the movePrimary is in progress Created: 09/Nov/22  Updated: 29/Oct/23  Resolved: 06/Feb/23

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Antonio Fuschetto Assignee: Antonio Fuschetto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-69181 MovePrimary followed by dropDatabase ... Closed
Problem/Incident
causes SERVER-74880 movePrimary participant should drain ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-02-06
Participants:

 Description   

The proposed solution is to acquire the recoverable critical section on the recipient shard although a more robust solution would be to spawn a DDL coordinator on the recipient that would acquire the DDL Lock and then the recoverable critical section. 



 Comments   
Comment by Githook User [ 04/Feb/23 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-71201 Prevent operations on the recipient while the movePrimary is in progress
Branch: master
https://github.com/mongodb/mongo/commit/28f8cd202ec6def6703d5a52c9599a27a85e35d6

Generated at Thu Feb 08 06:18:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.