Add uniqueness check for btree IDs to the verify routine

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0
    • Affects Version/s: None
    • Component/s: Verify
    • None
    • Storage Engines, Storage Engines - Persistence
    • SE Persistence - 2026-04-10
    • None

      Each table is assigned a unique ID when it is created. There is no check that this uniqueness is actually maintained. This tableid is used as metadata for disaggregated storage, and SLS is aware of it. Therefore tableid inconsistencies could lead to data corruption between wiredtiger and SLS.

      During verify, scan the metadata and confirm that no two tables share the same ID. If a duplicate is found, return an error that names the conflicting tables. This can also run at startup when diagnostic mode is enabled.

            Assignee:
            Mariam Mojid
            Reporter:
            Sean Watt
            Albert Song, Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: