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

XMLWordPrintableJSON

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

      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>

              Assignee:
              Mathias Stearn
              Reporter:
              Aaron Staple (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: