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

Validate if a query with _id or shard key is directly targetable to a shard

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding 2022-12-12

      It's possible that a query with _id or shard key is not directly targetable to a shard due to the usage of a different collation than the default collation collation in the query. We should check if the _id/shard key is a collatable type (object, string, array) then it must use the default collation otherwise it is not directly targetable to a shard.

            Assignee:
            jason.zhang@mongodb.com Jason Zhang (Inactive)
            Reporter:
            jason.zhang@mongodb.com Jason Zhang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: