Skip to content

Commit ee7452a

Browse files
author
Ed Costello
committed
DOCS-782 update writeBacksQueued to reflect change from Boolean result
1 parent a337121 commit ee7452a

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

source/reference/command/writeBacksQueued.txt

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,32 @@ writeBacksQueued (internal)
33
===========================
44

55
.. default-domain:: mongodb
6-
6+
77
.. dbcommand:: writeBacksQueued
88

9-
:dbcommand:`writeBacksQueued` is an internal command that returns true if
10-
there are operations in the write back queue for the given :program:`mongos`.
11-
This command applies to :term:`sharded clusters <sharded cluster>` only.
12-
9+
:dbcommand:`writeBacksQueued` is an internal command that returns
10+
a document reporting there are operations in the write back queue
11+
for the given :program:`mongos` and information about the queues.
12+
13+
:field Boolean hasOpsQueued:
14+
15+
True if there are writeBack operations queued.
16+
17+
:field integer totalOpsQueued:
18+
19+
The number of operations queued.
20+
21+
:field document queues:
22+
23+
A document listing the queues, with fields detailing the size of
24+
each queue and the time since the last call.
25+
26+
n
27+
28+
The size of the queue.
29+
30+
minutesSinceLastCall
31+
32+
The minutes since the last call.
33+
1334
.. slave-ok, admin-only

0 commit comments

Comments
 (0)