[SERVER-74878] Restoring from query yield fails to fetch collection using point-in-time reads Created: 15/Mar/23  Updated: 29/Oct/23  Resolved: 20/Mar/23

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

Type: Bug Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2023-03-20, Execution Team 2023-04-03
Participants:
Linked BF Score: 35

 Description   

When a query yields it releases its snapshot, and any point-in-time instantiated collections stored on the snapshot decoration are destructed. At the start of a query, collections are fetched using a namespace. However, when a query is restoring from yield it attempts to fetch collections by UUID. It's possible for a UUID to no longer resolve to a namespace in the latest collection catalog if that collection was dropped while the query was yielding. This doesn't conclude that the collection is inaccessible at an earlier point-in-time as the data files may still be on disk.



 Comments   
Comment by Githook User [ 17/Mar/23 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-74878 Restoring from query yield supports fetching point-in-time collections using UUIDs that are no longer in the latest CollectionCatalog
Branch: master
https://github.com/mongodb/mongo/commit/94a95de05bae3f835d64ce3447ad1684e6af08ed

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