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

Make WT_PAGE_DELETED a WT_UPDATE

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage 2017-07-31

      When we can do fast truncates of whole pages, we create a structure called WT_PAGE_DELETED that is attached to the page. This structure serves a similar purpose to WT_UPDATE: it has an associated transaction ID (and now timestamp), and has to be updated during transaction commit and rollback.

      Now that we have explicit support for multiple types of WT_UPDATE's, we should be able to make use one directly to mark pages deleted, and do away with the special case transaction code for WT_PAGE_DELETED.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: