[SERVER-9620] Index can be made multikey if a prefix of it is a shard key (splitVectors fail) Created: 08/May/13 Updated: 27/Oct/15 Resolved: 12/Feb/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 2.2.4, 2.4.3 |
| Fix Version/s: | 2.6.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Thomas Rueckstiess | Assignee: | Randolph Tan |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
| Comments |
| Comment by Githook User [ 12/Feb/14 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: Fix test to replace empty remove |
| Comment by Randolph Tan [ 12/Feb/14 ] |
|
Note to docs: Sharded collections can now have multikey indexes after it has been sharded. However, this is not encouraged as queries that use the multikey indexes will always be slower than normal indexes. Therefore it is highly recommended to have a dedicated' index for the shard key that is not a multikey type if the user wants to use a multikey index on another field. You still cannot shard a collection if it has multikey indexes. |
| Comment by Githook User [ 12/Feb/14 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: Allowed sharded collections to have multikey indexes based on the |