SERVER-139356Needs Scheduling

updateZoneKeyRange doesn't perform hashed key range validations

[removeKeyRangeFromZone|https://github.com/10gen/mongo/blob/2de947c5f21dd4b1e676823d92f065b1bd3e2c33/src/mongo/db/global_catalog/ddl/sharding_catalog_manager_zone_operations.cpp#L389] called from updateZoneKeyRange command extends the range to the full shard key but skips [checkHashedShardKeyRange|https://github.com/10gen/mongo/blob/2de947c5f21dd4b1e676823d92f065b1bd3e2c33/src/mongo/db/global_catalog/ddl/sharding_catalog_manager_zone_operations.cpp#L169].  # Shard \{x: "hashed"} and add a zone

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.