|
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.
|