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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 1.6.5, 1.7.0, 1.7.1
    • Component/s: Sharding
    • Labels:
      None

      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 }

      )

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

              Created:
              Updated:
              Resolved: