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

Remove unused condition variable in Session

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 4.1.1
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
    • Fully Compatible
    • Repl 2018-06-04, Repl 2018-06-18

      While investigating BFs we noticed that the condition variable Session::_commitcv is notified but never waited on. Apparently it was added by accident.

      https://github.com/mongodb/mongo/blob/master/src/mongo/db/session.cpp#L1014

      https://github.com/mongodb/mongo/blob/ecf8ad987548705e773d23d5ddc3973cbc1ea7e5/src/mongo/db/session.h#L455

       

            Assignee:
            jinny.byun Jinny Byun
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: