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

race in data_replicator_test between playResponses and InitialSyncBackgroundRunner

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.12
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2016-08-29
    • 0

      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)) {
      

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: