-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Minor Change
-
v4.4
-
Sharding 2020-05-04
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
-
None
If zones ranges are created on a hashed shard key before sharding the collection, shardCollection command will fail if the zones range are not of type NumberLong. But updateZoneKeyRange command doesn't fail if zone ranges are updated after sharding the collection and the hashed field values are not NumberLong.
This is bit inconsistent and error prone since users could potentially create zones ranges which cannot receive any data.
This line in the test should fail when the shard key is hashed.
- is related to
-
SERVER-43914 Permit sharding commands to accept compound hashed shard key specs
-
- Closed
-