[SERVER-79087] Pass serialization context into GetQueryableEncryptionCountInfo Created: 18/Jul/23  Updated: 29/Oct/23  Resolved: 31/Jul/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Hugh Tong (Inactive) Assignee: Hugh Tong (Inactive)
Resolution: Fixed Votes: 0
Labels: ntdi_must_have
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-77723 Turn parseNamespaceFromRequest calls ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-07-24, Server Serverless 2023-08-07
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 01/Aug/23 ]

Author:

{'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}

Message: SERVER-79087 Pass serialization context into GetQueryableEncryptionCountInfo
Branch: minh.luu-no_compile_sys-perf
https://github.com/mongodb/mongo/commit/eb18466d6688c930050ac84552f66f8e300e8cc6

Comment by Githook User [ 31/Jul/23 ]

Author:

{'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}

Message: SERVER-79087 Pass serialization context into GetQueryableEncryptionCountInfo
Branch: master
https://github.com/mongodb/mongo/commit/eb18466d6688c930050ac84552f66f8e300e8cc6

Generated at Thu Feb 08 06:40:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.