Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-4011

Checkpoint should not read truncated pages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.6.1
    • Fix Version/s: 3.6.4, 3.7.4, WT3.1.0
    • Component/s: None
    • Labels:

      Description

      Checkpoints should skip all deleted pages (as the did before MongoDB 3.6).

      For a page to be marked deleted, it must have been evicted from cache and marked clean. Checkpoint should never instantiate deleted pages: if a truncate is not visible to the checkpoint, the on-disk version is correct. If the truncate is visible, we skip over the child page when writing its parent. We check whether a truncate is visible in the checkpoint as part of reconciling internal pages (specificially, in __rec_child_modify).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.cahill Michael Cahill
              Reporter:
              michael.cahill Michael Cahill
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: