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

Server-side rewrite for find command on mongos

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • QO 2022-03-21, QO 2022-04-04

    Description

      From the design:

      Find commands are always parsed on mongos. After the user's find command has been parsed into a CanonicalQuery in ClusterFindCmd::run() and we've determined that there may be FLE2 rewrites to be done, and we are inside of a transaction, rewriteQueryOnEncryptedFields() will be called before ClusterFind::runQuery(). rewriteQueryOnEncryptedFields() will make queries to the encrypted state collections in order to rewrite the MatchExpression query before passing it on to ClusterFind::runQuery() as normal.

      Attachments

        Activity

          People

            davis.haupt@mongodb.com Davis Haupt (Inactive)
            davis.haupt@mongodb.com Davis Haupt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: