[SERVER-60460] Add invariant to check that global lock is held when calling CollectionCatalog::get Created: 05/Oct/21  Updated: 27/Oct/23  Resolved: 06/Oct/21

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

Type: Task Priority: Major - P3
Reporter: Henrik Edin Assignee: Gregory Wlodarek
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-60462 Global MODE_IS lock is required to ac... Closed
related to SERVER-58736 Avoid quadratic behavior in rollback ... Closed
is related to SERVER-60286 Global IS lock needed to read from Co... Closed
Backport Requested:
v5.0
Sprint: Execution Team 2021-10-18
Participants:

 Description   

To prevent subtle bugs where a concurrent writer with exclusive global X lock run concurrently and modifies the CollectionCatalog inplace.



 Comments   
Comment by Gregory Wlodarek [ 06/Oct/21 ]

SERVER-58736 has been reverted, which introduced these changes.

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