|
Here is an example of a replicated createIndexes currentOp entry:
{
|
"host" : "foo:20021",
|
"desc" : "repl index builder 7",
|
"active" : true,
|
"currentOpTime" : "2018-05-03T15:57:06.372-0400",
|
"opid" : 363,
|
"secs_running" : NumberLong(6),
|
"microsecs_running" : NumberLong(6705181),
|
"op" : "none",
|
"ns" : "test.system.indexes",
|
"command" : {
|
"v" : 2,
|
"key" : {
|
"x" : 1
|
},
|
"name" : "x_1",
|
"background" : true,
|
"ns" : "test.coll"
|
},
|
"msg" : "Index Build (background) Index Build (background): 100/100 100%",
|
"progress" : {
|
"done" : 100,
|
"total" : 100
|
},
|
"numYields" : 6,
|
"locks" : {
|
"Global" : "w",
|
"Database" : "w",
|
"Collection" : "w"
|
},
|
"waitingForLock" : false,
|
"lockStats" : {
|
"Global" : {
|
"acquireCount" : {
|
"w" : NumberLong(7)
|
},
|
"acquireWaitCount" : {
|
"w" : NumberLong(1)
|
},
|
"timeAcquiringMicros" : {
|
"w" : NumberLong(61)
|
}
|
},
|
"Database" : {
|
"acquireCount" : {
|
"w" : NumberLong(7),
|
"W" : NumberLong(1)
|
}
|
},
|
"Collection" : {
|
"acquireCount" : {
|
"w" : NumberLong(7)
|
}
|
}
|
}
|
}
|
I believe "createIndexes" is being stripped from the command object here.
|