-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Cluster Scalability
-
Fully Compatible
-
ALL
-
Cluster Scalability Priorities
The test jstests/core_sharding/analyze_shard_key/cardinality_and_frequency.js fails on validating shard key characteristics on a collection with a supporting index that is unique. The command result indicates that the index is not unique.
When running locally, inspection of data files shows that the index in question is unique on the shard where the collection is created, but not unique on the shard where a chunk was moved to prior to calling analyzeShardKey.
This test was converted from jstests/sharding/analyze_shard_key/cardinality_and_frequency.js where it does not fail this check on index uniqueness.