[SERVER-64053] Support optionally skipping the RSTL lock in AutoGetOplog Created: 28/Feb/22  Updated: 26/Oct/23

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

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Backlog - Catalog and Routing
Resolution: Unresolved Votes: 0
Labels: neweng, oldstorexemea, techdebt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-60016 serverStatus and collection stats sho... Closed
Assigned Teams:
Catalog and Routing
Participants:

 Description   

Filing this as a followup to SERVER-60016, where in the OplogInfoServerStatus we're accessing the oplog Collection from the CollectionCatalog via a shared_ptr (safe to use outside locks, but then need a GlobalLock to access the oplog's RecordStore. Cleaner to have AutoGetOplog skip the RSTL, so just the GlobalLock is taken (and the PBWM implicitly).


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