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

Checkpoint should not read truncated pages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.6.1
    • 3.6.4, 3.7.4, WT3.1.0
    • None
    • Storage Non-NYC 2018-04-09
    • v3.6

    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 (Inactive)
              michael.cahill@mongodb.com Michael Cahill (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: