[SERVER-885] addshard command should verify shard server exists Created: 01/Sep/09  Updated: 12/Jul/16  Resolved: 01/Sep/09

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

Type: Improvement Priority: Major - P3
Reporter: Dwight Merriman Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

do a getlasterror or something to the server to verifiy it exists before adding it, and return an error if not. the following is not so good

> db.runCommand(

{ addshard : "asdf;kljasdf%$^&*(" }

)

{"ok" : 1 , "added" : "asdf;kljasdf%$^&*("}
Generated at Thu Feb 08 02:55:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.