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

Create macro to identify dhandles directly associated with a Btree

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.1, 4.4.7, 5.0.0-rc0, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None

      Tiered storage now has "tiered:" dhandles and uris that behave like Btrees, but are allowed to span multiple files.  There are lots of places in the code that asks "is this dhandle a btree?".  Rather than compare dhandle->type to WT_DHANDLE_TYPE_BTREE, we should use a macro. 

      This issue is related to WT-7518, but is a simpler approach in that there are no changes to data structures.

       

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: