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

Race condition in collection_cloner_test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.2
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide
      1. Build collection_cloner_test with --opt=off and --dbg=on
      2. Run the following shell script:

        i=0; while ./build/linux2/dbg/mongo/db/repl/collection_cloner_test ; do (( ++i )); done; echo $i
        

      Show
      Build collection_cloner_test with --opt=off and --dbg=on Run the following shell script: i=0; while ./build/linux2/dbg/mongo/db/repl/collection_cloner_test ; do (( ++i )); done; echo $i
    • Sprint:
      RPL 2 04/24/15

      Description

      There is a race condition in collection_cloner_test. The BeginCollectionCallbackCanceled test fails sometimes at line 385 of collection_cloner_test.cpp expecting CallbackCanceled but seeing InternalError.

      It also sometimes fails in InsertDocumentsCallbackCanceled, at line 583 expecting CallbackCanceled but getting OK.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: