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

Check _currentCommittedSnapshot is set after waking from condition_variable in replication_coordinator_impl.cpp

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.11
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-04-22
    • 23

    Description

      We should check the condition that _currentCommittedSnapshot is set here after waking up. According to the standard it is possible for a spurious wakeup to occur where the thread is awoken even though no thread signaled the condition variable. This behavior was seen in a build failure.

      Attachments

        Activity

          People

            jason.chan@mongodb.com Jason Chan
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: