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

deadlock in mongorestore of archive

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.9
    • Component/s: None
    • Labels:
      None
    • Backport Requested:
      v3.2
    • Sprint:
      Server Tools 13 (04/22/16)

      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

            • Assignee:
              william.banfield William Banfield
              Reporter:
              adinoyi.omuya Adinoyi Omuya
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: