-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Concurrency, Diagnostics
-
None
-
Fully Compatible
We should restore locking summary statistics of some sort to the slow query log.
Example of 2.6 output (see "locks"):
2015-01-09T18:37:07.163-0500 [conn1] query test.foo planSummary: COLLSCAN ntoreturn:0 ntoskip:0 nscanned:1 nscannedObjects:1 keyUpdates:0 numYields:0 locks(micros) r:65 nreturned:1 reslen:42 0ms
Output as of ~2.8.0-rc5:
2015-01-09T18:40:26.683-0500 I QUERY [conn1] query test.foo planSummary: COLLSCAN ntoreturn:0 ntoskip:0 nscanned:0 nscannedObjects:1 keyUpdates:0 writeConflicts:0 numYields:0 nreturned:1 reslen:42 0ms
Also need to reenable jstests/core/profile4.js.