File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -31,4 +31,31 @@ writeBacksQueued (internal)
31
31
32
32
The minutes since the last call.
33
33
34
- .. slave-ok, admin-only
34
+ Examples
35
+ --------
36
+
37
+ .. code-block:: javascript
38
+
39
+ > db.runCommand({writeBacksQueued: 1})
40
+ {
41
+ "hasOpsQueued" : true,
42
+ "totalOpsQueued" : 7,
43
+ "queues" : {
44
+ "50a514204a0f431ff1944089" : { "n" : 0, "minutesSinceLastCall" : 1 },
45
+ "50a854a2c302ba1c5aeaaf59" : { "n" : 0, "minutesSinceLastCall" : 0 },
46
+ "50a854b65bbdacd51df98cb6" : { "n" : 0, "minutesSinceLastCall" : 0 },
47
+ "50a854c6ff03535c6effb72e" : { "n" : 0, "minutesSinceLastCall" : 0 },
48
+ "50a8553566232f70121071b3" : { "n" : 0, "minutesSinceLastCall" : 4 },
49
+ "50aa4711bd3c78d62453017e" : { "n" : 0, "minutesSinceLastCall" : 0 },
50
+ "50ac0df0293da708be675123" : { "n" : 0, "minutesSinceLastCall" : 1 }
51
+ },
52
+ "ok" : 1
53
+ }
54
+
55
+
56
+ .. slave-ok, admin-only
57
+
58
+ .. The queue ids are BSON objectids, they correspond to the
59
+ mongos that has talked to this shard. This is derived from the
60
+ "serverID" field of the setShardVersion command the mongos
61
+ sends to the shard
You can’t perform that action at this time.
0 commit comments