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

[CQF] Generate SBE expression to hash shard key when invoking ShardFilterer

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Query Optimization
    • Fully Compatible
    • 145

    Description

      In the enforcer and implementers which handle RemoveOrphansRequirement, we currently generate physical plans that do not consider the collation spec of the shard key. This means for shard keys like {_id: 'hashed'}, if we are performing a coll scan, we need to hash the value of _id before invoking the ShardFilterer.

      Attachments

        Activity

          People

            ben.shteinfeld@mongodb.com Ben Shteinfeld
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: