Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-82040

Add debug information in PreImagesTruncateManager::_registerAndInitialiseMarkersForTenant

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution EMEA Team 2023-10-30, CAR Team 2023-11-13
    • 120

      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.

            Assignee:
            haley.connelly@mongodb.com Haley Connelly
            Reporter:
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: