-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.2.1
-
Component/s: Index Maintenance, Sharding
-
Environment:OS: Ubuntu 12.04
Mongo: Sharded cluster based on MongoDB 2.2.1 for Linux
-
Sharding
-
ALL
-
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Mongo doesn't create an index for sharding key if index name (constructed by mongo in background) exceeds 128 characters.
As result such case of sharded collection without index for sharding key will cause performance degradation.
Additionally reproduced this issue by using Mongo Java Driver 2.9.3 with write concern 2 (REPLICAS_SAFE) - the same situation, no any exception observed.