[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%$^&*("} |