__verify_tree should check that tree and page types match

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Will Korteland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: