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

Collation should be considered part of a query's shape

    XMLWordPrintableJSON

Details

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

    Description

      • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: