[SERVER-50677] Make the AutoGetCollectionForRead lock helper open a storage snapshot corresponding to the acquired Collection instance Created: 01/Sep/20  Updated: 29/Oct/23  Resolved: 14/Oct/20

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

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-50680 use lock-free reads for queries Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-09-07, Execution Team 2020-09-21, Execution Team 2020-10-05, Execution Team 2020-10-19
Participants:

 Description   

Change the AutoGetCollectionForRead class to establish a storage snapshot corresponding to the acquired Collection object, only for flagged lock-free reads. This is necessary as an index drop might happen concurrently and result in updates to the collection data without corresponding index updates.



 Comments   
Comment by Githook User [ 14/Oct/20 ]

Author:

{'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}

Message: SERVER-50677 Make a lock-free read version of AutoGetCollectionForRead and open a storage snapshot corresponding to the acquired Collection instance
Branch: master
https://github.com/mongodb/mongo/commit/5a9dd0cbec1f4293e966321885cccb549c77e59c

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