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

Fix some issues with the recent changes to handle locking

    • Type: Icon: Task Task
    • Resolution: Done
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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 Unassigned
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: