diff options
author | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2018-09-04 15:42:43 -0400 |
---|---|---|
committer | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2018-09-07 23:13:42 -0400 |
commit | b5ca922655a1d0a438c39c38b2c4434016069cb7 (patch) | |
tree | 514a178784e763803db5cad8d72c56fc77518a91 /src/mongo/db/introspect.cpp | |
parent | a8fe1d82c3c5484c7e8a6402a34bc45ea11d06f1 (diff) | |
download | mongo-b5ca922655a1d0a438c39c38b2c4434016069cb7.tar.gz |
SERVER-26854 LockStats for sub-operations should not include wait time for previous operations
Diffstat (limited to 'src/mongo/db/introspect.cpp')
-rw-r--r-- | src/mongo/db/introspect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/introspect.cpp b/src/mongo/db/introspect.cpp index 493f80ccc4f..778aa4fb3f3 100644 --- a/src/mongo/db/introspect.cpp +++ b/src/mongo/db/introspect.cpp @@ -90,7 +90,7 @@ void profile(OperationContext* opCtx, NetworkOp op) { { Locker::LockerInfo lockerInfo; - opCtx->lockState()->getLockerInfo(&lockerInfo); + opCtx->lockState()->getLockerInfo(&lockerInfo, CurOp::get(opCtx)->getLockStatsBase()); CurOp::get(opCtx)->debug().append(*CurOp::get(opCtx), lockerInfo.stats, b); } |