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

mongorestore via mongos gives bad error message with no db specified

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: Legacy C++ Implementation
    • Fix Version/s: 3.0.0
    • Component/s: mongorestore
    • Labels:
      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

            • Assignee:
              backlog-server-tools Backlog - Server Tools Team
              Reporter:
              greg_10gen Greg Studer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: