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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.0.0
    • Legacy C++ Implementation
    • mongorestore
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: