deadlock in touch command

XMLWordPrintableJSON

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

      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:
              Eric Milkie
              Reporter:
              Eric Milkie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: