[SERVER-60731] Postpone database critical section release in drop database coordinator Created: 15/Oct/21  Updated: 29/Oct/23  Resolved: 26/Oct/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 5.0.3, 5.1.0-rc0
Fix Version/s: 5.2.0, 5.0.4, 5.1.0-rc3

Type: Bug Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Allison Easton
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.1, v5.0
Sprint: Sharding EMEA 2021-11-01
Participants:

 Description   

The database critical section taken in the drop database coordinator should be released only after we have already invalidated the database version from the DSS
Otherwise it could happen that an implicit create collection with a stale db version could potentially sneak in after we released the critical section but before we cleared the database version.



 Comments   
Comment by Githook User [ 28/Oct/21 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-60731 Postpone database critical section release in drop database coordinator

(cherry picked from commit 20043571a6f3f081073a14a8655971a479f44461)
Branch: v5.0
https://github.com/mongodb/mongo/commit/ab92fc4b0e7f08196c2af78454025a91ff70cb38

Comment by Githook User [ 28/Oct/21 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-60731 Postpone database critical section release in drop database coordinator

(cherry picked from commit 20043571a6f3f081073a14a8655971a479f44461)
Branch: v5.1
https://github.com/mongodb/mongo/commit/b9162c23f34e4bf636cf54036a68ce2b7216f835

Comment by Githook User [ 26/Oct/21 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-60731 Postpone database critical section release in drop database coordinator
Branch: master
https://github.com/mongodb/mongo/commit/20043571a6f3f081073a14a8655971a479f44461

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