Add 'stateChanges' to $planCacheStats

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Diagnostics, Querying
    • None
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: