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

__verify_tree should check that tree and page types match

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Storage Engines - 2022-08-22

      There's currently not a check (that Dave Holland or I could spot) that verifies the tree contains pages of a sane type. For example, a BTREE_COL_VAR tree could be full of WT_PAGE_COL_FIX or WT_PAGE_ROW_LEAF leaves, and it would continue happily.

      We should add a check for this.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            will.korteland@mongodb.com Will Korteland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: