mongorestore via mongos gives bad error message with no db specified

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: 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
              Reporter:
              Greg Studer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: