Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8266

deadlock in touch command

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.3.2
    • 2.4.0-rc0
    • None
    • None
    • ALL

    Description

      touch_pages grabs read lock and then MongoFilesShared, and then TempReleases the read lock.

      journal thread grabs read lock and then MongoFilesExclusive (on Windows).

      journal thread blocks waiting for MongoFilesExclusive, while touch_pages thread blocks waiting to relock the read lock when TempRelease goes out of scope.

      Attachments

        Activity

          People

            milkie@mongodb.com Eric Milkie
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: