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

Checkpoint should not read truncated pages

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.6.1
    • 3.6.4, 3.7.4, WT3.1.0
    • None

    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

              michael.cahill@mongodb.com Michael Cahill
              michael.cahill@mongodb.com Michael Cahill
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: