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

Pass serialization context into GetQueryableEncryptionCountInfo

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Server Serverless 2023-07-24, Server Serverless 2023-08-07

      FLE creates internal GetQueryableEncryptionCountInfo requests that are not being passed serialization contexts.  If an agg request is passed in with the $tenant field, the IDL-based GetQueryableEncryptionCountInfo object takes in a NamespaceString object, but soon thereafter calls its serializer, which creates a prefixed $db because the default IDL serialization context does not contain any information regarding where the tenantId came from.

      This will fail when the changes to SERVER-77723 correct how we deserialize the _nss member variables in the IDL request classes.

            Assignee:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Reporter:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: