-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Metrics in curop debug for query stats such as clusterWorkingTime, readingTime and cpuNanos (which was introduced in SERVER-98751) are all defined as boost::optional. However, these metrics are always set since all have default values. To make the code clearer we should investigate if we can just make these metrics not optional or if we can pass optional values to the consumers of these metrics (AggregatedMetrics and CursorMetrics).
- related to
-
SERVER-98751 add cpuNanos to $queryStats
-
- Closed
-