Details
-
Bug
-
Status: Closed
-
Trivial - P5
-
Resolution: Done
-
2.8.0-rc2
-
Fully Compatible
-
ALL
Description
db.currentOp(true) command used to show detailed stats for "signalProcessingThread", "initiandlisten", "DataFileSync", "journal", "TTLMonitor", "RangeDeleter" in 2.6 but not anymore in 2.8/2.8WT. In 2.8/2.8WT it only shows threadId for these.
- In 2.6:
{
|
"inprog" : [
|
{
|
"opid" : 0,
|
"active" : false,
|
"op" : "none",
|
"ns" : "",
|
"query" : {
|
|
},
|
"desc" : "signalProcessingThread",
|
"threadId" : "0x7fcca6a6b700",
|
"waitingForLock" : false,
|
"numYields" : 0,
|
"lockStats" : {
|
"timeLockedMicros" : {
|
|
},
|
"timeAcquiringMicros" : {
|
|
}
|
}
|
},
|
{
|
"opid" : 1,
|
"active" : false,
|
"op" : "none",
|
"ns" : "",
|
"query" : {
|
|
},
|
"desc" : "DataFileSync",
|
"threadId" : "0x7fcca626a700",
|
"waitingForLock" : false,
|
"numYields" : 0,
|
"lockStats" : {
|
"timeLockedMicros" : {
|
|
},
|
"timeAcquiringMicros" : {
|
|
}
|
}
|
},
|
{
|
"opid" : 10,
|
"active" : false,
|
"op" : "insert",
|
"ns" : "local.startup_log",
|
"insert" : {
|
|
},
|
"client" : "0.0.0.0:0",
|
"desc" : "initandlisten",
|
"threadId" : "0x7fcca9b6bb80",
|
"waitingForLock" : false,
|
"numYields" : 0,
|
"lockStats" : {
|
"timeLockedMicros" : {
|
"R" : NumberLong(0),
|
"W" : NumberLong(94565)
|
},
|
"timeAcquiringMicros" : {
|
"r" : NumberLong(0),
|
"w" : NumberLong(4)
|
}
|
}
|
},
|
{
|
"opid" : 3,
|
"active" : false,
|
"op" : "none",
|
"ns" : "",
|
"query" : {
|
|
},
|
"desc" : "journal",
|
"threadId" : "0x7fcca4e5b700",
|
"waitingForLock" : false,
|
"numYields" : 0,
|
"lockStats" : {
|
"timeLockedMicros" : {
|
"R" : NumberLong(492),
|
"W" : NumberLong(613)
|
},
|
"timeAcquiringMicros" : {
|
"R" : NumberLong(44),
|
"W" : NumberLong(6)
|
}
|
}
|
},
|
{
|
"opid" : 5,
|
"active" : false,
|
"op" : "none",
|
"ns" : "",
|
"query" : {
|
|
},
|
"desc" : "clientcursormon",
|
"threadId" : "0x7fcca3d59700",
|
"waitingForLock" : false,
|
"numYields" : 0,
|
"lockStats" : {
|
"timeLockedMicros" : {
|
|
},
|
"timeAcquiringMicros" : {
|
|
}
|
}
|
},
|
{
|
"opid" : 6,
|
"active" : false,
|
"op" : "none",
|
"ns" : "",
|
"query" : {
|
|
},
|
"desc" : "TTLMonitor",
|
"threadId" : "0x7fcca2d57700",
|
"waitingForLock" : false,
|
"numYields" : 0,
|
"lockStats" : {
|
"timeLockedMicros" : {
|
|
},
|
"timeAcquiringMicros" : {
|
|
}
|
}
|
},
|
{
|
"opid" : 7,
|
"active" : false,
|
"op" : "none",
|
"ns" : "",
|
"query" : {
|
|
},
|
"desc" : "RangeDeleter",
|
"threadId" : "0x7fcca2556700",
|
"waitingForLock" : false,
|
"numYields" : 0,
|
"lockStats" : {
|
"timeLockedMicros" : {
|
|
},
|
"timeAcquiringMicros" : {
|
|
}
|
}
|
},
|
{
|
"opid" : 12,
|
"active" : false,
|
"op" : "query",
|
"ns" : "",
|
"query" : {
|
"whatsmyuri" : 1
|
},
|
"client" : "127.0.0.1:48595",
|
"desc" : "conn1",
|
"threadId" : "0x7fcca9a43700",
|
"connectionId" : 1,
|
"waitingForLock" : false,
|
"numYields" : 0,
|
"lockStats" : {
|
"timeLockedMicros" : {
|
|
},
|
"timeAcquiringMicros" : {
|
|
}
|
}
|
}
|
]
|
}
|
- In 2.8:
{
|
"inprog" : [
|
{
|
"desc" : "conn1",
|
"threadId" : "0x7f8766050a20",
|
"connectionId" : 1,
|
"opid" : 9,
|
"active" : false,
|
"op" : "query",
|
"ns" : "",
|
"query" : {
|
"whatsmyuri" : 1
|
},
|
"client" : "127.0.0.1:48606",
|
"numYields" : 0,
|
"locks" : {
|
|
},
|
"waitingForLock" : false,
|
"lockStats" : {
|
|
}
|
},
|
{
|
"desc" : "clientcursormon",
|
"threadId" : "0x7f8763a98980",
|
"opid" : 7,
|
"active" : false,
|
"op" : "none",
|
"ns" : "local.startup_log",
|
"query" : {
|
|
},
|
"numYields" : 0,
|
"locks" : {
|
|
},
|
"waitingForLock" : false,
|
"lockStats" : {
|
|
}
|
},
|
{
|
"desc" : "TTLMonitor",
|
"threadId" : "0x7f8763a987a0"
|
},
|
{
|
"desc" : "RangeDeleter",
|
"threadId" : "0x7f8763a985c0"
|
},
|
{
|
"desc" : "journal",
|
"threadId" : "0x7f876604ec60"
|
},
|
{
|
"desc" : "DataFileSync",
|
"threadId" : "0x7f8763a98200"
|
},
|
{
|
"desc" : "initandlisten",
|
"threadId" : "0x7f876604fde0"
|
},
|
{
|
"desc" : "signalProcessingThread",
|
"threadId" : "0x7f876604ffa0"
|
}
|
]
|
}
|
|
- In 2.8WT:
|
{
|
"inprog" : [
|
{
|
"desc" : "conn1",
|
"threadId" : "0x7f7d48982a20",
|
"connectionId" : 1,
|
"opid" : 7,
|
"active" : false,
|
"op" : "query",
|
"ns" : "",
|
"query" : {
|
"whatsmyuri" : 1
|
},
|
"client" : "127.0.0.1:48617",
|
"locks" : {
|
|
},
|
"waitingForLock" : false,
|
"lockStats" : {
|
|
}
|
},
|
{
|
"desc" : "clientcursormon",
|
"threadId" : "0x7f7d429a65c0",
|
"opid" : 5,
|
"active" : false,
|
"op" : "none",
|
"ns" : "local.startup_log",
|
"query" : {
|
|
},
|
"locks" : {
|
|
},
|
"waitingForLock" : false,
|
"lockStats" : {
|
|
}
|
},
|
{
|
"desc" : "TTLMonitor",
|
"threadId" : "0x7f7d429a63e0"
|
},
|
{
|
"desc" : "RangeDeleter",
|
"threadId" : "0x7f7d429a6200"
|
},
|
{
|
"desc" : "initandlisten",
|
"threadId" : "0x7f7d48981de0"
|
},
|
{
|
"desc" : "signalProcessingThread",
|
"threadId" : "0x7f7d48981fa0"
|
}
|
]
|
}
|
|
Attachments
Issue Links
- is documented by
-
DOCS-4542 Update currentOp output example to reflect 2.8 changes
-
- Closed
-