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

race in data_replicator_test between playResponses and InitialSyncBackgroundRunner

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.3.12
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2016-08-29
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: