[SERVER-51201] CollectionPtr with shared_ptr<const Collection> must be yieldable Created: 28/Sep/20  Updated: 29/Oct/23  Resolved: 15/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: Henrik Edin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-10-05, Execution Team 2020-10-19
Participants:
Linked BF Score: 136

 Description   

CollectionPtr internally can either be given a std::function to refresh from the collection catalog, or a flag to decide whether to get a CollectionPtr constructed with a Collection* or std::shared<const Collection>.



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

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-51201 CollectionPtr returned from AutoGetCollectionLockFree is yieldable
Branch: master
https://github.com/mongodb/mongo/commit/81dabe92f33b3e109561aaa82d681316bb577813

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