[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: |
|
||||||||
| 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: Unifies openCollection() and needsOpenCollection() on the CollectionCatalog. Integrate into the AutoGet setup helpers and simplify their logic. |