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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.0.4
    • Sharding
    • osx
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            edouard Edouard Servan-Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: