diff options
author | Haley Connelly <haley.connelly@10gen.com> | 2019-09-30 21:59:39 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-09-30 21:59:39 +0000 |
commit | ae95a4f31b75590635db3eb80ec6bf19cccffebf (patch) | |
tree | ebbd6ecfa37bb14da12da361b90f1f85d004622c /src/mongo/db/curop.cpp | |
parent | f14c26dfc3975f0c98af26573ab91b5d9c09ee71 (diff) | |
download | mongo-ae95a4f31b75590635db3eb80ec6bf19cccffebf.tar.gz |
SERVER-43696 Ensure _prepareConflictStartTime, _prepareConflictDuration and curTimeMicros64() have consistent types in PrepareConflictTracker
Diffstat (limited to 'src/mongo/db/curop.cpp')
-rw-r--r-- | src/mongo/db/curop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/curop.cpp b/src/mongo/db/curop.cpp index cf08c38548d..fd325678ae7 100644 --- a/src/mongo/db/curop.cpp +++ b/src/mongo/db/curop.cpp @@ -456,8 +456,8 @@ bool CurOp::completeAndLogOperation(OperationContext* opCtx, } // Gets the time spent blocked on prepare conflicts. - _debug.prepareConflictDurationMicros = durationCount<Microseconds>( - PrepareConflictTracker::get(opCtx).getPrepareConflictDuration()); + _debug.prepareConflictDurationMicros = + PrepareConflictTracker::get(opCtx).getPrepareConflictDuration(); log(component) << _debug.report(opCtx, (lockerInfo ? &lockerInfo->stats : nullptr)); } |