[SERVER-82040] Add debug information in PreImagesTruncateManager::_registerAndInitialiseMarkersForTenant Created: 10/Oct/23 Updated: 03/Nov/23 Resolved: 03/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Haley Connelly | Assignee: | Haley Connelly |
| 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 EMEA Team 2023-10-30, CAR Team 2023-11-13 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 120 | ||||||||||||
| Description |
|
After generating initial markers, the PreImagesTruncateManager code maintains an invariant that if a nsUUID is tracked in a truncate marker, it must have an updated sample of its last entry. The invariant is important for catching bugs in the process, but ultimately poses no risk for data corruption or data loss, and only introduces a very small change that pre-images inserted during initialization will never be truncated. Given initialization has shown to take up minimal time, and a future pre-image insert into a given nsUUID will guarantee eventual truncation for the pre-images on said nsUUID, it should be safe to relax the invariant. |
| Comments |
| Comment by Githook User [ 03/Nov/23 ] |
|
Author: {'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}Message: |