[SERVER-40215] [FLE] Support and test explain command in mongocryptd Created: 19/Mar/19 Updated: 29/Oct/23 Resolved: 24/Apr/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.11 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | David Storch | Assignee: | Ted Tuckman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Query 2019-04-22, Query 2019-05-06 |
| Participants: |
| Description |
|
Explain support is mostly already working in mongocryptd but there are two additional tasks:
|
| Comments |
| Comment by Githook User [ 24/Apr/19 ] | |
|
Author: {'name': 'Ted Tuckman', 'username': 'TedTuckman', 'email': 'ted.tuckman@mongodb.com'}Message: | |
| Comment by Nicholas Zolnierz [ 04/Apr/19 ] | |
|
Per driver's request, the jsonSchema should be at the top-level of explain as if it were a normal command:
Currently, the mongocryptd command layer extracts the "inner" command and forwards it to the query analysis, which expects jsonSchema to be present. To avoid a big refactor, the simplest approach would be to create a new inner command by appending the jsonSchema from the outer layer. |