fix race in DataReplicatorTest::DataReplicatorResetsOnCompletionCallbackFunctionPointerUponCompletion

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.4.2, 3.5.2
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Repl 2017-01-23
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If the DataReplicatorTest::DataReplicatorResetsOnCompletionCallbackFunctionPointerUponCompletion test case makes it past the _chooseSyncSource stage and sends a replSetGetRBID request, calling shutdown() without requesting the network interface to deliver the cancellation signal to _rollbackCheckerResetCallback will lead to DataReplicator::join() hanging.

              Assignee:
              Benety Goh
              Reporter:
              Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: