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

db.currentOp command suppresses "client" information for idle connections

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Admin, Networking, Usability
    • Labels:
      None

      As per the documentation of db.currentOp:

      Changed in version 3.0: For some inactive background threads, such as an inactive signalProcessingThread, MongoDB suppresses various empty fields.

      It seems that any idle connections (not running any operation) are suppressing client information. For example, In MongoDB 3.0, idle connections to mongo shell are showing up like this:

      {
      	"desc" : "conn32",
      	"threadId" : "0x7fd6dbf04b40",
      	"connectionId" : 32,
      	"active" : false
      }
      

      Can client (ip/hostname) be included in the output?

            Assignee:
            Unassigned Unassigned
            Reporter:
            ankit.kakkar@mongodb.com Ankit Kakkar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: