mongodump crashes with malformed --host argument

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: Legacy C++ Implementation
    • Component/s: mongodump

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

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

              Assignee:
              Unassigned
              Reporter:
              Ian Whalen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: