Avoid updates to PreImageTruncateMarkers before inserts are committed

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • CAR Team 2023-11-13
    • 120
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the pre-images truncate marker initialization code, we call _truncateManager.updateMarkersOnInsert outside of an onCommit() handler.

      This means that a placeholder for truncate markers on a given nsUUID can be created for an empty collection before any inserts are committed/ visible.

      In general, updating the in-memory truncate marker structures outside of onCommit() handlers can lead to unexpected behavior. 

            Assignee:
            Haley Connelly
            Reporter:
            Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: