Remove unused condition variable in Session

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: