[DOCS-634] Cannot specify a shard name with the sh.addShard function Created: 23/Oct/12 Updated: 30/Oct/23 Resolved: 23/Oct/12 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Jeremy Mikola | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Participants: | |||||
| Days since reply: | 11 years, 15 weeks, 4 days ago | ||||
| Description |
|
http://docs.mongodb.org/manual/administration/sharding/#add-a-shard-to-a-cluster mentions specifying the name of a shard with:
That looks like a syntax error, and I don't believe the sh.addShard function actually supports a name at all, according to the console definition in 2.2:
|
| Comments |
| Comment by Asya Kamsky [ 04/Nov/12 ] |
|
Also see |
| Comment by auto [ 23/Oct/12 ] |
|
Author: {u'date': u'2012-10-23T07:20:17-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}Message: |
| Comment by Scott Hernandez (Inactive) [ 23/Oct/12 ] |
|
Jeremy, you are correct, you must use the command, not the js helper to do that. |