[SERVER-76677] Provide SerializationContext to serializer in Explain Created: 28/Apr/23 Updated: 29/Oct/23 Resolved: 25/May/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc3 |
| 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-05-29 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Commands with a query component provide the ability to convert a PlanExecutor to a query planner BSON obj. These commands call an Explain::explainStages() override, which calls the Explain::generatePlannerInfo() to create the query planner. The query planner contains a 'namespace' field that requires calling the namespace string serializer. We will want to pass SerializationContext objects down the stack to correctly set the serialization configuration when serializing in generatePlannerInfo(). As the goal of these changes are in pursuit of fixing tests that will fail once serializeForCommands and deserializeForCommands are plumbed in, no new tests are being added for this ticket. |
| Comments |
| Comment by Githook User [ 23/May/23 ] |
|
Author: {'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}Message: |