Set WT_BTREE_IN_MEMORY flag for btrees in in-memory database

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: Btree
    • None
    • Storage Engines - Transactions
    • None
    • None

      Currently in a lot of the places in the code, we check both WT_CONN_IN_MEMORY and WT_BTREE_IN_MEMORY. However, in some places, we only check WT_BTREE_IN_MEMORY. It is recipe for errors. We should always set the WT_BTREE_IN_MEMORY for all the btrees in the in-memory database. Then we only need to check WT_BTREE_IN_MEMORY not both in the code.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: