[DOCS-1844] split chunk docs have incorrect syntax for hashed shard keys Created: 20/Aug/13  Updated: 11/Jan/17  Resolved: 04/Sep/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Jared Rosoff Assignee: Zack Brown
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by DOCS-1874 Comment on: "manual/reference/command... Closed
Participants:
Days since reply: 10 years, 24 weeks, 1 day ago

 Description   

The docs for split on
http://docs.mongodb.org/manual/reference/command/split/#split-a-chunk-using-values-of-a-hashed-shard-key

seem incorrect. the contents of the "bounds" array should be documents that contain the key & value of the shard key, not just the value. The example provided should be something like :

db.runCommand( { split: "test.people" ,
               bounds : [ { _id: NumberLong("-5838464104018346494") },
                          { _id: NumberLong("-5557153028469814163") }] } )



 Comments   
Comment by auto [ 03/Sep/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1844: edits
Branch: master
https://github.com/mongodb/docs/commit/9cdf4055ca7a4c7b590f1c1ae936479c738a11a5

Comment by auto [ 03/Sep/13 ]

Author:

{u'username': u'Zackrobat', u'name': u'Zack Brown', u'email': u'zack.brown@10gen.com'}

Message: DOCS-1844: split chunk docs have incorrect syntax for hashed shard keys

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/c7e5eb1952438417366fd034f9f5a63ba1d5fcc5

Generated at Thu Feb 08 07:42:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.