SERVER-97409ClosedFixed
Missing queryHash / planCacheKey on count() queries
Dear support, I ran recently into a problem using an exporter for DB profiler, and noticed that there is no queryHash / planCacheKey produced for count() queries, forcing the exporter to miss such queries in its report. This behaviour can presumably exist for other type of aggregates as well. MongoDB Server version is 7.0.14 An example of such a query plan : {noformat} [ { "op": "command", "ns": "airbnb.listings", "command": { "count": "listings", "query