[SERVER-36608] Add 'stateChanges' to $planCacheStats Created: 13/Aug/18  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Diagnostics, Querying
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: David Storch Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Participants:

 Description   

stateChanges: [
    …,
    {
        from: <”active”|”inactive”>,
        to: <”active”|”inactive”>,
        time: <Date>,
        works: <NumberLong>,
        newPlanSummary: <truncated summary string>
    },
    ...
]

The number of transitions that we are willing to store for a particular plan cache entry should be capped by a query knob. We should always store the most recent transitions.


Generated at Thu Feb 08 04:43:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.