File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed
test/max_staleness/ReplicaSetNoPrimary Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "topology_description" : {
3
+ "type" : " ReplicaSetNoPrimary" ,
4
+ "servers" : [
5
+ {
6
+ "address" : " a:27017" ,
7
+ "type" : " PossiblePrimary" ,
8
+ "avg_rtt_ms" : 5 ,
9
+ "maxWireVersion" : 0
10
+ },
11
+ {
12
+ "address" : " b:27017" ,
13
+ "type" : " Unknown" ,
14
+ "avg_rtt_ms" : 5 ,
15
+ "maxWireVersion" : 0
16
+ },
17
+ {
18
+ "address" : " c:27017" ,
19
+ "type" : " RSSecondary" ,
20
+ "maxWireVersion" : 6 ,
21
+ "avg_rtt_ms" : 5 ,
22
+ "lastWrite" : {
23
+ "lastWriteDate" : {
24
+ "$numberLong" : " 1"
25
+ }
26
+ }
27
+ }
28
+ ]
29
+ },
30
+ "read_preference" : {
31
+ "mode" : " Nearest" ,
32
+ "maxStalenessSeconds" : 120
33
+ },
34
+ "suitable_servers" : [
35
+ {
36
+ "address" : " c:27017" ,
37
+ "type" : " RSSecondary" ,
38
+ "maxWireVersion" : 6 ,
39
+ "avg_rtt_ms" : 5 ,
40
+ "lastWrite" : {
41
+ "lastWriteDate" : {
42
+ "$numberLong" : " 1"
43
+ }
44
+ }
45
+ }
46
+ ],
47
+ "in_latency_window" : [
48
+ {
49
+ "address" : " c:27017" ,
50
+ "type" : " RSSecondary" ,
51
+ "maxWireVersion" : 6 ,
52
+ "avg_rtt_ms" : 5 ,
53
+ "lastWrite" : {
54
+ "lastWriteDate" : {
55
+ "$numberLong" : " 1"
56
+ }
57
+ }
58
+ }
59
+ ]
60
+ }
You can’t perform that action at this time.
0 commit comments