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

Collation should be considered part of a query's shape

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.10
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 14 (05/13/16), Query 15 (06/03/16), Query 16 (06/24/16), Query 17 (07/15/16)
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      • Add collation encoding to PlanCache::computeKey(), and a "indexability discriminator" for paths that are assigned string predicates.
      • Add a new "collation" private member to PlanCacheEntry and CachedSolution.
      • Add a new "collation" option to the index filter commands (planCacheClearFilters, planCacheSetFilter). Note that the implementation of these commands in existing deployments ignores unknown options, so users should not set this option until they've fully upgraded their cluster (if we bump the wire version, it will be possible to have the shell/mongos error if users do this, but it's likely not worth the effort).
      • Add a new "collation" option to the plan cache shell helpers.

      The "query shape" glossary entry in the manual will also need updating.

            Assignee:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Reporter:
            rassi J Rassi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: