-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Service Arch
-
Fully Compatible
-
Security 2023-12-11, Security 2023-12-25
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The new metrics to add to QueryStatsEntry:
AggregatedMetric keysExamined;
AggregatedMetric docsExamined;
struct AggregatedBool {
uint64_t trueCount;
uint64_t falseCount;
};
AggregatedBool hasSortStage;
AggregatedBool usedDisk;
AggregatedBool fromMultiPlanner;
AggregatedBool fromPlanCache;
QueryStatsEntry::toBSON will check the feature flag to avoid extra information appearing in $queryStats. This can be done by taking a boolean rather then depending on the feature flag code itself.
- causes
-
SERVER-84292 Revert move of extern template AggregatedMetric<T>::appendTo
-
- Closed
-
- is depended on by
-
SERVER-83636 Change writeQueryStats to take a struct of metrics
-
- Closed
-