- 
    Type:Bug 
- 
    Resolution: Fixed
- 
    Priority:Major - P3 
- 
    Affects Version/s: None
- 
    Component/s: None
- 
        Query Integration
- 
        Fully Compatible
- 
        ALL
- 
        v8.0
- 
        
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
Aggregations on sharded clusters that return a result that is just under the 16MB BSONObj limit can succeed with query stats disabled, but fail due to exceeding the limit with query stats enabled. Adding the data-bearing nodes metrics to the response here is what causes the BSON on the shards to exceed the limit.
- related to
- 
                    SERVER-93474 [v8.0] Re-enable featureFlagQueryStatsDataBearingNodes -         
- Closed
 
-         
- 
                    SERVER-94640 Complete TODO listed in SERVER-93216 -         
- Closed
 
-         
- 
                    SERVER-92678 Create library of interesting BSON documents -         
- Closed
 
-