analyzeShardKey misclassifies range queries in hashed sharding

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Sharding NYC 2023-01-23
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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. 

            Assignee:
            Cheahuychou Mao
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: