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

Race condition in collection_cloner_test

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.2
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • 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
    • 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

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: