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

Change sweep to not wait on the dhandle list lock

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: