Skip to content

Commit 2c004c0

Browse files
author
Sam Kleinman
committed
SERVER-7994: clarifying that timeLockedMicros may be longer than total operation length.
1 parent 6a3b11d commit 2c004c0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

source/reference/database-profiler.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,11 @@ operation.
190190

191191
.. stats:: lockStats.timeLockedMicros
192192

193-
The time in microseconds the operation held a specific lock.
193+
The time in microseconds the operation held a specific lock. For
194+
operations that require more than one lock, such as operations
195+
that must lock the ``local`` database to update the :term:`oplog`, then
196+
this value may be longer than the total length of the
197+
operation (i.e. :stats:`millis`.)
194198

195199
.. stats:: lockStats.timeAcquiringMicros
196200

0 commit comments

Comments
 (0)