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

race between CollectionCloner::_findCallback and CollectionCloner::_insertDocuments

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.4.0-rc3
    • 3.4.2, 3.5.1
    • Replication
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Repl 2016-11-21
    • 0

    Description

      While the collection cloner is inserting a single batch of documents into the database in _insertDocuments (before it reaches point where it calls into the collection bulk loader), the getMore command on the sync source may return a failure (for example, collection gets dropped) which terminates the collection cloner by way of the _finishCallback function. _finishCallback destroys the collection bulk loader which maybe trigger an invariant in _insertDocuments running a separate thread.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: