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

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

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

      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@mongodb.com Mathias Stearn
            Reporter:
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: