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

Add a URI-specific version of wt_conn_btree_apply.

    • Type: Icon: Task Task
    • Resolution: Done
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      keithbostic and michaelcahill please review this. This fixes the specific issue in WT-1439.

      This cuts the time in my test from 84 seconds to about 4.5 seconds for 3000 tables. I created a new, slightly different version,{{ __wt_conn_btree_apply_uri}} that applies the function to any dhandle that matches the URI. This avoids walking the entire conn->dhandle list to then walk the session list to then call the function on all URIs and have it be a no-op since the URI does not match the one we're interested in.

            Assignee:
            Unassigned Unassigned
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: