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

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

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

      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 Unassigned
            Reporter:
            edouard Edouard Servan-Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: