Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-9466

Make sure numYields shows up in slow query log for all types of operations

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: None
    • Component/s: Logging
    • Labels:
      None
    • ALL

      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
      

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: