Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-72987

analyzeShardKey misclassifies range queries in hashed sharding

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • 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. 

      Attachments

        Activity

          People

            cheahuychou.mao@mongodb.com Cheahuychou Mao
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: