Fix some issues with the recent changes to handle locking

XMLWordPrintableJSON

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

      1. bump the reference count before dropping the handle list lock. Otherwise, a handle sweep could free the handle from under us in between.

      2. hold the handle exclusive until sweep is finished with it. Previously it could have been re-acquired in between, and the locking situation was unclear.

      refs WT-1391, WT-1392

            Assignee:
            Unassigned
            Reporter:
            Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: