- 
    Type:
Improvement
 - 
    Resolution: Duplicate
 - 
    Priority:
Major - P3
 - 
    None
 - 
    Affects Version/s: None
 - 
    Component/s: None
 
- 
        Query Execution
 - 
        None
 
- 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 
We set maxMetrics to 0 to indicate a metric is not tracked in TrialRunTracker. This is bug-prone, and has led to issues such as SERVER-79088. There's no reason to use 0 instead of boost::none, so let's change this to avoid future bugs.
- is related to
 - 
                    
SERVER-79088 Improve SBE multi-planner performance for query which returns zero results
-         
 - Closed
 
 -