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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: 2.0.4
    • Fix Version/s: None
    • Component/s: Sharding
    • Environment:
      osx
    • Backwards Compatibility:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: