Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10222

The list of values for currentOp.op is missing the "command" value

      The list of possible values for the currentOp.op field is missing the "command" value.

      For example this op type exists for "creareIndex" commands in version 3.2:

      		{
      			"desc" : "conn19",
      			"threadId" : "0x700002453000",
      			"connectionId" : 19,
      			"client" : "127.0.0.1:51981",
      			"active" : true,
      			"opid" : 9019,
      			"secs_running" : 1,
      			"microsecs_running" : NumberLong(1462147),
      			"op" : "command",
      			"ns" : "tesla-calc-green.$cmd",
      			"query" : {
      				"createIndexes" : "x",
      				"indexes" : [
      					{
      						"ns" : "tesla-calc-green.x",
      						"key" : {
      							"x" : 1
      						},
      						"name" : "x_1"
      					}
      				]
      			}

      This also should be addressed in rephrasing:

      "query" operations include read operations as well as most commands such as the createIndexes command and the findandmodify command.

            Assignee:
            Unassigned Unassigned
            Reporter:
            pavel.duchovny@mongodb.com Pavel Duchovny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 50 weeks, 4 days ago