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

Checkpoint should not read truncated pages

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.4, 3.7.4, WT3.1.0
    • Affects Version/s: 3.6.1
    • Component/s: None
    • Labels:
    • Storage Non-NYC 2018-04-09
    • v3.6

      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).

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: