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

mongorestore sometimes hangs on particular dataset

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mongorestore
    • Labels:
      None
    • Backport Requested:
      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. repro.go
          1 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. Screen Shot 2018-01-12 at 1.28.48 PM.png
          Screen Shot 2018-01-12 at 1.28.48 PM.png
          18 kB

          Activity

            People

            Assignee:
            backlog-server-tools Backlog - Server Tools Team
            Reporter:
            ryan.chipman Ryan Chipman
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated: