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

mongorestore via mongos gives bad error message with no db specified

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0
    • Affects Version/s: Legacy C++ Implementation
    • Component/s: mongorestore
    • None

      in 2.0 branch (potentially 2.1 and above as well), running a mongorestore without a -d but with a -c results in:

      assertion: 13106 nextSafe():

      { $err: "assertion s/config.h:120", code: 0 }

      The error should instead be something related to the need to specify a database if a collection is specified.

            Assignee:
            Unassigned Unassigned
            Reporter:
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: