Skip to content

Commit d70e21d

Browse files
author
Sam Kleinman
committed
SERVER-7994: updating timeLockedMicros
1 parent 2c004c0 commit d70e21d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

source/reference/current-op.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,12 @@ Output Reference
253253
The :data:`timeLockedMicros` document reports the amount of
254254
time the operation has spent holding a specific lock.
255255

256+
For operations that require more than one lock, like those that
257+
lock the ``local`` database to update the :term:`oplog`, then
258+
the values in this document can be longer than this value may
259+
be longer than the total length of the operation
260+
(i.e. :data:`secs_running`.)
261+
256262
.. data:: timeLockedMicros.R
257263

258264
Reports the amount of time in microseconds the operation has held the

source/reference/database-profiler.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ operation.
191191
.. stats:: lockStats.timeLockedMicros
192192

193193
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
194+
operations that require more than one lock, like those
195+
that lock the ``local`` database to update the :term:`oplog`, then
196196
this value may be longer than the total length of the
197197
operation (i.e. :stats:`millis`.)
198198

0 commit comments

Comments
 (0)