[DOCS-10222] The list of values for currentOp.op is missing the "command" value Created: 07/May/17  Updated: 30/Oct/23  Resolved: 07/May/17

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Pavel Duchovny Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

https://docs.mongodb.com/manual/reference/command/currentOp/#currentOp.op


Participants:
Days since reply: 6 years, 40 weeks, 4 days ago

 Description   

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.



 Comments   
Comment by Pavel Duchovny [ 07/May/17 ]

Closing since it looks as duplicate of: https://jira.mongodb.org/browse/DOCS-10089

Hope this brings more context to that ticket as well.

Generated at Thu Feb 08 08:00:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.