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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-04-22
    • 23
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Jason Chan
            Reporter:
            Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: