[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: |
|
||||
| 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: |