|
Looks like this has been fixed on master:
> db.currentOp()
|
{
|
"inprog" : [
|
{
|
"desc" : "conn2",
|
"threadId" : "0x700004d1b000",
|
"connectionId" : 2,
|
"client" : "127.0.0.1:63697",
|
"appName" : "MongoDB Shell",
|
"active" : true,
|
"opid" : 1226,
|
"secs_running" : 11,
|
"microsecs_running" : NumberLong(11719727),
|
"op" : "update",
|
"ns" : "test.foo",
|
"query" : {
|
|
},
|
"numYields" : 0,
|
"locks" : {
|
"Global" : "w"
|
},
|
"waitingForLock" : true,
|
"lockStats" : {
|
"Global" : {
|
"acquireCount" : {
|
"r" : NumberLong(1),
|
"w" : NumberLong(1)
|
},
|
"acquireWaitCount" : {
|
"w" : NumberLong(1)
|
},
|
"timeAcquiringMicros" : {
|
"w" : NumberLong(11561478)
|
}
|
}
|
}
|
},
|
// ...
|
|
|
Some other fields are also not populated, including (critically) the amount of time we've been waiting for a write lock:
{
|
|
|
|
"opid" : 30080,
|
|
|
|
"active" : false,
|
|
|
|
"op" : "insert",
|
|
|
|
"ns" : "",
|
|
|
|
"insert" : {
|
|
|
|
|
|
|
|
},
|
|
|
|
"client" : "127.0.0.1:54353",
|
|
|
|
"desc" : "conn30",
|
|
|
|
"connectionId" : 30,
|
|
|
|
"locks" : {
|
|
|
|
"^test" : "W"
|
|
|
|
},
|
|
|
|
"waitingForLock" : true,
|
|
|
|
"numYields" : 0,
|
|
|
|
"lockStats" : {
|
|
|
|
"timeLockedMicros" : {
|
|
|
|
|
|
|
|
},
|
|
|
|
"timeAcquiringMicros" : {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"opid" : 30082,
|
|
|
|
"active" : false,
|
|
|
|
"op" : "query",
|
|
|
|
"ns" : "",
|
|
|
|
"query" : {
|
|
|
|
"drop" : "jstests_orm"
|
|
|
|
},
|
|
|
|
"client" : "127.0.0.1:54362",
|
|
|
|
"desc" : "conn31",
|
|
|
|
"connectionId" : 31,
|
|
|
|
"locks" : {
|
|
|
|
"^test" : "W"
|
|
|
|
},
|
|
|
|
"waitingForLock" : true,
|
|
|
|
"numYields" : 0,
|
|
|
|
"lockStats" : {
|
|
|
|
"timeLockedMicros" : {
|
|
|
|
|
|
|
|
},
|
|
|
|
"timeAcquiringMicros" : {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"opid" : 30081,
|
|
|
|
"active" : false,
|
|
|
|
"op" : "remove",
|
|
|
|
"ns" : "",
|
|
|
|
"query" : {
|
|
|
|
"_id" : ObjectId("51272273ed34a6664c6b5b00")
|
|
|
|
},
|
|
|
|
"client" : "127.0.0.1:54386",
|
|
|
|
"desc" : "conn32",
|
|
|
|
"connectionId" : 32,
|
|
|
|
"locks" : {
|
|
|
|
"^test" : "W"
|
|
|
|
},
|
|
|
|
"waitingForLock" : true,
|
|
|
|
"numYields" : 0,
|
|
|
|
"lockStats" : {
|
|
|
|
"timeLockedMicros" : {
|
|
|
|
|
|
|
|
},
|
|
|
|
"timeAcquiringMicros" : {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|