• Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0.12
    • Component/s: mongorestore
    • Labels:
      None

      I call C# function Process.Start which invokes mongorestore command. This command targets to a folder with backups created by mongodump command. The command sometimes fails and sometimes does not. The ratio is about 50:50.  When I run the exactly same command from command line manually, it works 100%.

       

      The fail message looks like: Failed: census.Requisition: error dropping collection: ns not found. It looks like a collection is being dropped twice. If you inspect attached log, you can find example of this with ActionLogItem collection (see picture).

       

      As I said, it fails randomly. It's not always the same collection, it doesn't fail all the time etc.

        1. a.png
          a.png
          63 kB
        2. mongod.zip
          976 kB
        3. Program.cs
          3 kB

            Assignee:
            tim.fogarty@mongodb.com Tim Fogarty
            Reporter:
            mastercs999@seznam.cz Jan Trpky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: