[SERVER-13990] Improved warning for low cardinality keys Created: 19/May/14 Updated: 19/Sep/15 Resolved: 04/Jun/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.4 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Charlie Page | Assignee: | David Hows |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Participants: | |||||
| Description |
|
mongo estimates the "max" reasonable chunk size and warns if that chunk size exceeds that, in a effort to detect low cardinality keys. The error message is:
A more informative error message like: "warning possible low cardinality for shard key detected <database>.<collection>" would be helpful. |
| Comments |
| Comment by Githook User [ 03/Jun/15 ] |
|
Author: {u'username': u'daveh86', u'name': u'daveh86', u'email': u'howsdav@gmail.com'}Message: |