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

currentOp shows insert as op query

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.6.1
    • Component/s: Write Ops
    • None
    • Query
    • ALL

      Output from db.currentOp() included:

      {
      	"opid" : "next_1:1219394635",
      	"active" : true,
      	"secs_running" : 0,
      	"op" : "query",
      	"ns" : "",
      	"query" : {
      		"insert" : "followers",
      		"documents" : [
      			{
      				"_id" : ObjectId("53977bb4e4b0036245638a96"),
      				"_f" : "30922",
      				"_t" : "28116"
      			}
      		],
      		"ordered" : true,
      		"metadata" : {
      			"shardName" : "next_1",
      			"shardVersion" : [
      				Timestamp(0, 0),
      				ObjectId("000000000000000000000000")
      			],
      			"session" : NumberLong(0)
      		}
      	},
      	"client_s" : "10.109.139.16:53207",
      	"desc" : "conn431",
      	"threadId" : "0x7f61268a6700",
      	"connectionId" : 431,
      	"waitingForLock" : false,
      	"numYields" : 0,
      	"lockStats" : {
      		"timeLockedMicros" : {
      
      		},
      		"timeAcquiringMicros" : {
      
      		}
      	}
      }
      

      This query is actually an insert? Not sure which component is lying here...

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: