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

race in data_replicator_test between playResponses and InitialSyncBackgroundRunner

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.12
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Repl 2016-08-29
    • Linked BF Score:
      0

      Description

      In InitialSyncTest::playResponses, it's possible for the next ready request to be canceled by DataReplicator::_cancelAllHandles_inlock() after getNextReadyRequest() returns true.

      https://github.com/mongodb/mongo/blob/965066ff4441f95ca757a6a9845fc1b70213e11e/src/mongo/db/repl/data_replicator_test.cpp#L656

                      auto noi = net->getNextReadyRequest();
                      if (isOplogGetMore(noi)) {
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: