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

DBDirectClient's call() and say() may call commitIfNeeded() without a mutex

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.9.2
    • None
    • None
    • ALL

    Description

      The comments above DBDirectClient's class definition state that the caller does not need to lock, however it looks like call() and say() call getDur().commitIfNeeded() without locking and that this function requires a lock.

      This seems to have caused the following failure:
      <http://buildbot.mongodb.org/builders/Linux%2064-bit%20v8/builds/2488/steps/test_5/logs/stdio>

      Attachments

        Activity

          People

            mathias@mongodb.com Mathias Stearn
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: