Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Service Arch
-
Fully Compatible
-
Security 2023-12-11, Security 2023-12-25
Description
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.
Attachments
Issue Links
- 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
-