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

Filter "db.currentOp()" to remove writebacklisten ops and more

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 1.6.5, 1.7.0, 1.7.1
    • Sharding
    • None

    Description

      In a sharded configuration, db.currentOp() outputs lots of "writebacklisten" operations.
      Because this is only relative to technical behavior, it can make the output less readable for the user.

      The idea is to be able to remove these information, or maybe to let the user giving some criteria :

      > db.currentOp(

      { active: 1 }

      )
      > db.currentOp( { running_secs: { $gt: 60 }} )
      > db.currentOp(

      { usersQueryOnly: 1 }

      )

      Attachments

        Activity

          People

            Unassigned Unassigned
            adrien Adrien Mogenet
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: