Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
-
ALL
Description
runQuery() makes a call to getStats() (which generates the stats tree as BSON) if the profiler is enabled /or/ if the query will generate a log line. However, only the profiler consumes the stats tree. This means that getStats() is unnecessarily called if the query will generate a log line and the profiler is disabled (which is quite a common case, and getStats() is extraordinarily expensive).
Attachments
Issue Links
- duplicates
-
SERVER-17282 Implement find command on mongod
-
- Closed
-