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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.2
    • Component/s: None
    • Labels:
      None
    • Operating System:
      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

            Assignee:
            redbeard0531 Mathias Stearn
            Reporter:
            aaron Aaron Staple
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: