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

Race condition in collection_cloner_test

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.2
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      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

      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.

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

              Created:
              Updated:
              Resolved: