-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Sharding EMEA
-
ALL
-
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
For a sharded cluster, first create a unique index, but do not specify the relevant field as a unique index when shardColleciton. Finally, the config.collections table shows that the corresponding index is not a unique index.
Is this expected behavior?
When running the shardCollection command without specifying unique equal to true bug finding that the corresponding index has been built as a unique index, should it return a failure?
- related to
-
SERVER-19714 config.collections should reflect if the shard key is unique
-
- Closed
-