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

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • 145

      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.

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

              Created:
              Updated:
              Resolved: