[SERVER-9466] Make sure numYields shows up in slow query log for all types of operations Created: 25/Apr/13  Updated: 11/Jul/16  Resolved: 16/Jan/14

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: None
Fix Version/s: 2.5.5

Type: Bug Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: David Storch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

Any operation that gets logged because it took longer than the slow query threshold should include the numYields that happened during that operation.

Currently some operations don't include numYields in their slow query log. For example:

insert test.foo keyUpdates:0 locks(micros) w:6115 177654ms



 Comments   
Comment by Githook User [ 16/Jan/14 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-9466 always display numYields in slow query log
Branch: master
https://github.com/mongodb/mongo/commit/f8671e9dc3565fac7cf9784b096b3b8e5a496717

Generated at Thu Feb 08 03:20:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.