[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: |
|
||||||||
| 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 |
| Comments |
| Comment by Githook User [ 01/Aug/23 ] |
|
Author: {'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}Message: |
| Comment by Githook User [ 31/Jul/23 ] |
|
Author: {'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}Message: |