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

Change block manager to track all of the WT_BLOCKs for a tree

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      A Tiered Table spans multiple files/objects, each of which is accessed via a separate block handle (WT_BLOCK). 

      Currently to find a block handle, we use a table of block handles that is part of the "current" block handle referenced from the block manager. I.e., bm->block->related[]

      This is makes locking and coordination difficult. Looking up the block handle we need for a request requires that the current, unrelated handle stored in bm->block can't go away.

      To eliminate this dependency we will move the list of handles being to the file into the block manager itself, so a lookup will only need the block manager (WT_BM).

      Further details TBD.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            keith.smith@mongodb.com Keith Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: