[SERVER-72641] Add CollectionCatalog::openCollection support to return the existing Collection if reading >= minValidSnapshot (last DDL op) Created: 09/Jan/23  Updated: 29/Oct/23  Resolved: 09/Feb/23

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

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
related to SERVER-72608 Use minValid instead of minVisible wh... Closed
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2023-02-20, Execution Team 2023-02-06
Participants:

 Description   

Rather than gating use of CollectionCatalog::openCollection calls by checking the Collection minValidSnapshot, move the check internal to ::openCollection.



 Comments   
Comment by Githook User [ 09/Feb/23 ]

Author:

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

Message: SERVER-72641 Add establishConsistentCollection API

Unifies openCollection() and needsOpenCollection() on the CollectionCatalog.

Integrate into the AutoGet setup helpers and simplify their logic.
Branch: master
https://github.com/mongodb/mongo/commit/1d9897064eec855f58e5abec0813bf2664ffe481

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