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

Change sweep to not wait on the dhandle list lock

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

      There is a bug I can't see and missed in the review.

      Original comment:
      Avoid a deadlock between the sweep server and a checkpoint.

      The sweep server was holding a handle exclusive and waiting on the handle list lock (in order to remove the handle from the list), a checkpoint was holding the handle list lock waiting for a read lock on the handle. Found by examining a hang during automated testing.

            Assignee:
            Unassigned Unassigned
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: