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

Avoid updates to PreImageTruncateMarkers before inserts are committed

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • CAR Team 2023-11-13
    • 120

    Description

      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. 

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: