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

Remove unused condition variable in Session

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • None
    • 4.1.1
    • Replication
    • Fully Compatible
    • Repl 2018-06-04, Repl 2018-06-18

    Description

      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

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: