[SERVER-69564] Query analysis omits version API fields with "explain" Created: 09/Sep/22 Updated: 29/Oct/23 Resolved: 29/Dec/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Field Level Encryption |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kevin Albertson | Assignee: | Shreyas Kalyan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||
| Steps To Reproduce: | Steps to reproduce with mongo_crypt:Build the "csfle-markup" tool. It is a tool in libmongocrypt to mark up commands with the mongo_crypt shared library.
Mark the explain-with-apiVersion.json through csfle-markup:
|
||||||||||||||||||||||||
| Sprint: | Security 2022-11-14, Security 2022-12-12, Security 2022-12-26, Security 2023-01-09 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
The "apiVersion", "apiStrict", and "apiDeprecationErrors" fields do not appear to be returned in the results of mongocryptd or the mongo_crypt shared library. mongocryptd omits "apiStrict" or "apiDeprecationErrors". mongo_crypt omits "apiVersion", "apiStrict" or "apiDeprecationErrors". For example, marking up the following with mongo_crypt:
Results in this output:
"apiVersion", "apiStrict", and "apiDeprecationErrors" is expected in the output. The output is the same for version mongo_crypt_v1-dev-6.2.0-alpha-336-ga7ba740. Marking an explain command with mongocryptd does not appear to preserve "apiStrict" or "apiDeprecationErrors" in the output.
The output is the same for version 6.1.0-alpha-986-g960265d |
| Comments |
| Comment by Githook User [ 29/Dec/22 ] |
|
Author: {'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@mongodb.com', 'username': 'shreyaskal'}Message: |