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

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

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 2.0.0
    • 2.3.0
    • Querying
    • None

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: