[SERVER-5435] White spaces in arguments of addShard command are not stripped for replica set connection string Created: 28/Mar/12  Updated: 30/Mar/12  Resolved: 30/Mar/12

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 2.0.4
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Edouard Servan-Schreiber Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: connection, replicaset, sharding
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

osx


Backwards Compatibility: Fully Compatible
Participants:

 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.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 30/Mar/12 ]

SERVER-5434

Generated at Thu Feb 08 03:08:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.