[SERVER-81527] Add QuerySettings to $planCacheStats output Created: 28/Sep/23 Updated: 29/Oct/23 Resolved: 20/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Denis Grebennicov | Assignee: | Denis Grebennicov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | M3 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Query Execution
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | QE 2023-10-30 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 60 | ||||||||||||
| Description |
|
Currently $planCacheStats logic serializes only PlanCacheEntries as result of this stage and QuerySettings are not present there, because they are part of the key. Having QuerySettings as part of $planCacheStats would help during diagnostics, therefore it would be valuable to have it there. In order to achieve that we could modify the serializer of the PlanCacheEntries and let it take PlanCacheKey as well. Then we would include PlanCacheKey.QuerySettings into the serialized output. |
| Comments |
| Comment by Githook User [ 20/Oct/23 ] |
|
Author: {'name': 'Denis Grebennicov', 'email': 'denis.grebennicov@mongodb.com', 'username': 'denis631'}Message: |