[SERVER-75788] Make movePrimary enterRecipientCriticalSection phase idempotent Created: 06/Apr/23  Updated: 29/Oct/23  Resolved: 07/Apr/23

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

Type: Bug Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2023-04-17
Participants:
Linked BF Score: 147

 Description   

If move primary coordinator calls ShardsvrMovePrimaryEnterCriticalSectionCommand twice the second time it will block here waiting for the critical section acquired in the previous execution.



 Comments   
Comment by Githook User [ 07/Apr/23 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-75788 Make movePrimary enterRecipientCriticalSection phase idempotent
Branch: master
https://github.com/mongodb/mongo/commit/1b6cab66e209f73639ede757b9916fc2e3a8da70

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