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

mongorestore sometimes hangs on particular dataset

    XMLWordPrintable

Details

    • Investigation
    • Status: Accepted
    • Minor - P4
    • Resolution: Unresolved
    • None
    • 100.6.0
    • mongorestore
    • None
    • v4.2

    Description

      In the BI connector, we invoke mongorestore as shown here. Occasionally, mongorestore will hang when we attempt to restore a .bson.gz file using this code. Currently, the hang is only manifesting itself on Windows, and it occurs only sporadically.

      We originally observed this hang using an older version of mongo-tools, but it persisted even after revendoring to 4da3a69c46185fb20be26e40064c5d0a5647fde6 (master as of 8/18/17). I have so far been unable to reproduce the hang on a spawnhost, but it does appear to hang in the same location every time (see a log here), when restoring bigobjarray.bson.gz.

      Attachments

        1. Screen Shot 2018-01-12 at 1.28.48 PM.png
          Screen Shot 2018-01-12 at 1.28.48 PM.png
          18 kB
        2. Screen Shot 2017-08-31 at 1.17.40 PM.png
          Screen Shot 2017-08-31 at 1.17.40 PM.png
          125 kB
        3. repro.go
          1 kB

        Activity

          People

            backlog-server-tools Backlog - Server Tools Team
            ryan.chipman@mongodb.com Ryan Chipman
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: