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

Display queries for getmore ops in db.currentOp() output

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.3.0
    • Affects Version/s: 2.0.0
    • Component/s: Querying
    • None

      db.currentOp() currently displays getmore operations as follows:

      {
      "opid" : 1009927,
      "active" : true,
      "lockType" : "read",
      "waitingForLock" : false,
      "secs_running" : 5,
      "op" : "getmore",
      "ns" : "db.col",
      "query" : {

      },
      "client_s" : "hostname:56211",
      "desc" : "conn",
      "threadId" : "0x7f38088b1452",
      "connectionId" : 3,
      "numYields" : 0
      }

      It would be nice if this output displayed the query that created the cursor (like the output for query ops)

            Assignee:
            matulef Kevin Matulef
            Reporter:
            gilby Allen Gilbert
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: