[SERVER-60462] Global MODE_IS lock is required to access CollectionCatalog::get() in time-series code path Created: 05/Oct/21  Updated: 27/Oct/23  Resolved: 06/Oct/21

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

Type: Bug Priority: Major - P3
Reporter: Arun Banala 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-58736 Avoid quadratic behavior in rollback ... Closed
is related to SERVER-60460 Add invariant to check that global lo... Closed
Operating System: ALL
Backport Requested:
v5.1, v5.0
Sprint: Execution Team 2021-10-18
Participants:

 Description   

The time-series code path has several usages of CollectionCatalog::get():: lookupCollectionByNamespaceForRead() which does not take a MODE_IS lock. We need to evaluate all these usages of this helper in the time-series code path.



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

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

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