[SERVER-56785] Critical section is wrongly reacquired after completing a resharding operation on the donor shard Created: 10/May/21  Updated: 29/Oct/23  Resolved: 13/May/21

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

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

Issue Links:
Depends
Related
is related to SERVER-53653 [Resharding] Take the critical sectio... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2021-05-17
Participants:
Linked BF Score: 141

 Description   

The donor shard releases the recoverable critical section just before transitioning its state to kDone. The problem is that once the CS is released, a blocked refresh may resume its execution and it may end up reacquiring the RCS.



 Comments   
Comment by Githook User [ 12/May/21 ]

Author:

{'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}

Message: SERVER-56785 Critical section is wrongly reacquired after completing a resharding operation on the donor shard
Branch: master
https://github.com/mongodb/mongo/commit/e758a3c1345ce13d544868cc9c2600b8144a541a

Generated at Thu Feb 08 05:40:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.