Shell does not support connection strings

XMLWordPrintableJSON

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

      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:
            DO NOT USE - Backlog - Platform Team
            Reporter:
            Gaetan Voyer-Perrault (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: