[DOCS-990] Document bounds parameter of moveChunk Created: 15/Jan/13 Updated: 04/Mar/23 Due: 28/Feb/13 Resolved: 01/Apr/13 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | mongodb-2.4 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Ed Costello | Assignee: | Ed Costello |
| Resolution: | Done | Votes: | 0 |
| Labels: | sharding | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
||||||||||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Days since reply: | 10 years, 46 weeks, 5 days ago | ||||||||||||||||||||||||
| Description |
|
bounds allows one to specify a chunk by lower and upper bounds. e.g.
+ split command to have bounds parameter as well (from |
| Comments |
| Comment by auto [ 29/Mar/13 ] |
|
Author: {u'date': u'2013-03-29T15:20:23Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |
| Comment by auto [ 29/Mar/13 ] |
|
Author: {u'date': u'2013-03-15T19:50:31Z', u'name': u'Ed Costello', u'email': u'epc@10gen.com'}Message: note that splitChunk does not support bounds AFAICT Updated with changes from samk, greg Signed-off-by: Sam Kleinman <samk@10gen.com> |
| Comment by Sam Kleinman (Inactive) [ 07/Feb/13 ] |
|
moveChunk and split commands will have a new field added (think it'll be "bounds" in both cases, but still in-review) to allow better selection and splitting of chunks with hashed shard keys. We need to doc this new field (not sure if in a new 2.4 branch or everywhere with version noted?). Problem with hashed shard keys is that it's non-trivial to figure out which chunk a key will hash to, so using "find" with a document to select a chunk for moving or splitting is not very useful. |