[DOCS-2392] Comment on: "manual/reference/command/shardCollection.txt" Created: 11/Dec/13 Updated: 11/Feb/14 Resolved: 11/Feb/14 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | v1.3.1 |
| Type: | Improvement | Priority: | Blocker - P1 |
| Reporter: | Thomas Rueckstiess | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | 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/shardCollection/ |
||
| Participants: | |
| Days since reply: | 10 years, 1 week, 1 day ago |
| Description |
|
According to my tests on 2.4.8, the limit of numInitialChunks is actually 8192 * number of shards. |
| Comments |
| Comment by Githook User [ 11/Feb/14 ] |
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |
| Comment by Githook User [ 11/Feb/14 ] |
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |
| Comment by Randolph Tan [ 12/Dec/13 ] |
|
I checked the code and it looks like Thomas is correct. It looks like we don't have any restrictions for numInitialChunks, but we do have a limit of 8192 split points for a single chunk. And that is what the limit the shardCollection command is hitting when it tries to split a chunk in a shard (Basically, the process is split into n shard chunks, move them to each shard and further split them). In summary, Thomas is correct. |
| Comment by Sam Kleinman (Inactive) [ 12/Dec/13 ] |
|
I've looked over the code and don't see anything that jumps out at me to support this change. I've followed up with renctan, and he'll confirm. Cheers, |