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

mongodump crashes with malformed --host argument

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • Legacy C++ Implementation
    • mongodump

    Description

      mongodump aborts with an unhelpful message and stack trace when invoked with the following invalid argument.

      mongodump --host mongodb://localhost:30000dbname?readPreference=secondary

      Attachments

        Activity

          People

            Unassigned Unassigned
            ian@mongodb.com Ian Whalen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: