[DOCS-1874] Comment on: "manual/reference/command/split.txt" Created: 31/Aug/13 Updated: 03/Nov/17 Resolved: 01/Sep/13 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 01112017-cleanup |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | auto | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Location: http://docs.mongodb.org/manual/reference/command/split/ |
||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 10 years, 24 weeks, 5 days ago | ||||||||
| Description |
|
The example for doing a split for a hashed shard key is wrong. It shows this: db.runCommand( { split: "test.people" , bounds : [ NumberLong("-5838464104018346494"), NumberLong("-5557153028469814163")] }) This command gives an error. The correct syntax as given in the blog is: db.runCommand({ split : "mydb.webcrawler_empty", bounds : [ { "url" : NumberLong("2305843009213693950") }, { "url" : NumberLong("4611686018427387900") }] }) This syntax works. Thanks for your work on Mongo and thanks for the great documentation! |