[SERVER-68268] Insert and merge namespace->catalogId mapping for timestamp Created: 25/Jul/22 Updated: 29/Oct/23 Resolved: 04/Nov/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Henrik Edin | Assignee: | Henrik Edin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Execution Team 2022-10-17, Execution Team 2022-10-31, Execution Team 2022-11-14 | ||||
| Participants: | |||||
| Linked BF Score: | 162 | ||||
| Description |
|
When reading PIT in the range [oldest timestamp, startup timestamp] we may not know the correct catalogId and have to search the durable catalog for it. This result should be known to the CollectionCatalog so future reads can avoid the search. When inserting a correct mapping of catalogId for a given timestamp, we may be able to merge it with previous existing entries. |
| Comments |
| Comment by Githook User [ 02/Nov/22 ] |
|
Author: {'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: Added a helper function to insert accurate catalogId mappings after scanning the durable catalog after a previous call has returned unknown. This will allow other reads to avoid scanning the durable catalog again in some cases. |
| Comment by Githook User [ 01/Nov/22 ] |
|
Author: {'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: Revert " This reverts commit bdac91fc1f43a22c361a846bd2e84957d4642a98. |
| Comment by Githook User [ 31/Oct/22 ] |
|
Author: {'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: Added a helper function to insert accurate catalogId mappings after scanning the durable catalog after a previous call has returned unknown. This will allow other reads to avoid scanning the durable catalog again in some cases. |