Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Sharding NYC 2023-01-23
Description
The analyzeShardKey {Read,Write}DistributionCalculator currently classifies all shard key range queries as targeting a variable number of shards (i.e. not necessary all shards). The classification isn't correct in the case of hashed sharding, since in that case range queries target all shards.