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

metadata cleanups

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.8.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Two metadata cleanups:

      1. Change metadata to keep an open cursor handle and spinlock around it for single update/insert/remove operations (see the lookaside table code for an example), instead of re-opening a new metadata cursor on each access.

      Open question: should we continue to keep the meta dhandle cached to improve performance of operations where we are opening a new metadata cursor (for example, btree-apply, or hot-backup, where we're traversing the entire metadata file. I'm guessing the answer is yes, we already have the code and it's not worth removing.

      2. Change code references from "metadata file" to "metadata table".

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: