[DOCS-1602] Add an example to moveChunk Created: 04/Jun/13 Updated: 28/Aug/13 Resolved: 20/Aug/13 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Ryan Nitz | Assignee: | Zack Brown |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 10 years, 25 weeks, 2 days ago |
| Description |
|
After reading the documentation, I was slightly confused by what the values for "bounds" should be. http://docs.mongodb.org/manual/reference/command/moveChunk/ Can you add an example what the call should look like? The bounds should be something like:
The _id is the field that is hashed (i.e., the shard key) and values are the min/max keys. This comes from the raw chunk document:
|
| Comments |
| Comment by auto [ 26/Aug/13 ] |
|
Author: {u'username': u'Zackrobat', u'name': u'Zack Brown', u'email': u'zack.brown@10gen.com'}Message: Signed-off-by: Sam Kleinman <samk@10gen.com> |