-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: Legacy C++ Implementation
-
Component/s: mongostat
-
None
In a chained replication scenario, a node will update it's own local.slaves collection. This is indicated in the output of mongostat as a local update, while other update operations are described as from replication. This is shown with the usual shorthand - two numbers separated by a pipe character. The issue is, only those rows in the output that have a local update are displayed this way. All other rows are shown as a single number:
*20 2771 1 *0 17 38|0 0 656g 1313g 164g 0 test:2.6% 0 1|0 2|0 952k 913k 667 testRS SEC 03:48:33 *30 2830 1|1 *0 23 55|0 1 656g 1313g 164g 0 test:0.2% 0 0|0 0|0 973k 946k 667 testRS SEC 03:48:34 *16 3050 1 *0 13 46|0 0 656g 1313g 164g 0 test:2.6% 0 0|0 3|0 1m 1m 667 testRS SEC 03:48:35 *22 2996 1 *0 18 56|0 0 656g 1313g 164g 0 test:0.2% 0 0|0 2|0 1m 1m 667 testRS SEC 03:48:36 *24 3141 1 *0 20 41|0 0 656g 1313g 164g 0 test:3.0% 0 0|0 2|0 1m 1m 667 testRS SEC 03:48:37 *8 2950 1 *0 9 33|0 0 656g 1313g 164g 0 test:0.2% 0 0|0 0|0 1m 1m 667 testRS SEC 03:48:38
This makes the output inconsistent and hard to read.
Elsewhere in the output, the pipe delimiter is used on every line (for example, in the command column).
- duplicates
-
SERVER-13248 Do not include "local.slaves" writes in opcounters
- Closed