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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.5
    • None
    • Logging
    • None
    • ALL

    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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: