[SERVER-71484] Don't store queries directly on the OperationContext Created: 18/Nov/22 Updated: 29/Oct/23 Resolved: 23/Jan/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Maddie Zechar |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Query Optimization
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | QO 2023-02-06 | ||||||||
| Participants: | |||||||||
| Description |
|
We are currently storing a copy of each query directly on the OperationContext. This is a layering violation and we should either use a decoration or just pass the relevant variables down the stack. |
| Comments |
| Comment by Githook User [ 23/Jan/23 ] |
|
Author: {'name': 'Maddie Zechar', 'email': 'mez2113@columbia.edu', 'username': 'madelinezec'}Message: |
| Comment by Githook User [ 23/Jan/23 ] |
|
Author: {'name': 'Maddie Zechar', 'email': 'mez2113@columbia.edu', 'username': 'madelinezec'}Message: |
| Comment by Maddie Zechar [ 18/Nov/22 ] |
|
In regards to your comment louis.williams@mongodb.com please see https://jira.mongodb.org/browse/SERVER-71143. |
| Comment by Louis Williams [ 18/Nov/22 ] |
|
Same comment applies to the query planning information that we also store on the OpCtx |