Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3254

Shell does not support connection strings

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.8.1
    • Component/s: Shell
    • Labels:
      None
    • Fully Compatible

      Connection string syntax is defined here:
      http://www.mongodb.org/display/DOCS/Connections

      The shell does not appear to support this syntax at all.

      Doing something like the following throws an assertion or simply crashes the shell:

      var other_server = new Mongo('mongodb://localhost:6900,localhost:6901 '); // fails
      var other_server = new Mongo('mongodb://localhost:6900 '); // also fails
      var other_server = connect('mongodb://localhost:6900 '); // fails

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            gatesvp Gaetan Voyer-Perrault
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: