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

deadlock in touch command

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.4.0-rc0
    • Affects Version/s: 2.3.2
    • Component/s: None
    • Labels:
      None
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: