Truncate preimages at startup to avoid recovery holes

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution EMEA Team 2023-06-26, Execution EMEA Team 2023-07-10, Execution EMEA Team 2023-07-24
    • 148
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      During crash recovery untimestamped truncates can spontaneously be partially rolled back due to lack of information at the WiredTiger layer.

      This can cause "holes" to manifest in preimages and change collections where we have patches of missing data that should've expired.

      To avoid these holes we should range truncate the collections at startup so that the expired data is deleted again and the holes are not presented to the end user.

            Assignee:
            Haley Connelly
            Reporter:
            Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: