White spaces in arguments of addShard command are not stripped for replica set connection string

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.0.4
    • Component/s: Sharding
    • Environment:
      osx
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      sh.addShard("rs_b/SE185012-AirBook.local:30100, SE185012-AirBook.local:30101, SE185012-AirBook.local:30102")
      fails to add, as opposed to
      sh.addShard("rs_a/SE185012-AirBook.local:30000,SE185012-AirBook.local:30001,SE185012-AirBook.local:30002")
      which succeeds.
      the only difference are the spaces after the commas in the argument list.

              Assignee:
              Unassigned
              Reporter:
              Edouard Servan-Schreiber (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: