Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1121

deadlock in mongorestore of archive

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.9
    • None
    • None
    • None
    • Server Tools 13 (04/22/16)
    • v3.2

    Description

      To repro, setup a database, test with three collections (each containing about ~150K documents). Next dump the database to an archive:

      mongodump --numThreads 1 -d fullblackbox --archive=blackbox.bson

      Now attempt to restore:

      mongorestore --archive=blackbox.bson -j 3

      Note that the deadlock event depends on the number of different collections referenced by contiguously interleaved documents in the archive. In this particular example, if that number is greater than 1, a deadlock occurs (just a hypothesis, I haven't verified this). For reference, I've attached a sample blackbox.bson created using the mongodump command above that triggers the deadlock.

      Attachments

        Activity

          People

            william.banfield William Banfield
            adinoyi.omuya@mongodb.com Adinoyi Omuya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: