Ensure all callers of bm->free pass through __wt_btree_block_free

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines - Persistence
    • SE Persistence - 2026-03-27
    • None

      Right now there are various layering violations in the code base with regards to the bm->free block manager function. There is a __wt_btree_free function but for some reason a number of callers skip that layer and call directly into the block manager.

      Scope:

      • Redirect all callers through __wt_btree_free.
      • Remove salvage hacks that override the block manager's pointer.

            Assignee:
            Luke Pearson
            Reporter:
            Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: