...
1{
2 "description": "Discover passives with replicaSet URI option",
3 "uri": "mongodb://a/?replicaSet=rs",
4 "phases": [
5 {
6 "responses": [
7 [
8 "a:27017",
9 {
10 "ok": 1,
11 "helloOk": true,
12 "isWritablePrimary": true,
13 "hosts": [
14 "a:27017"
15 ],
16 "passives": [
17 "b:27017"
18 ],
19 "setName": "rs",
20 "minWireVersion": 0,
21 "maxWireVersion": 6
22 }
23 ]
24 ],
25 "outcome": {
26 "servers": {
27 "a:27017": {
28 "type": "RSPrimary",
29 "setName": "rs"
30 },
31 "b:27017": {
32 "type": "Unknown",
33 "setName": null
34 }
35 },
36 "topologyType": "ReplicaSetWithPrimary",
37 "logicalSessionTimeoutMinutes": null,
38 "setName": "rs"
39 }
40 },
41 {
42 "responses": [
43 [
44 "b:27017",
45 {
46 "ok": 1,
47 "helloOk": true,
48 "isWritablePrimary": false,
49 "secondary": true,
50 "passive": true,
51 "hosts": [
52 "a:27017"
53 ],
54 "passives": [
55 "b:27017"
56 ],
57 "setName": "rs",
58 "minWireVersion": 0,
59 "maxWireVersion": 6
60 }
61 ]
62 ],
63 "outcome": {
64 "servers": {
65 "a:27017": {
66 "type": "RSPrimary",
67 "setName": "rs"
68 },
69 "b:27017": {
70 "type": "RSSecondary",
71 "setName": "rs"
72 }
73 },
74 "topologyType": "ReplicaSetWithPrimary",
75 "logicalSessionTimeoutMinutes": null,
76 "setName": "rs"
77 }
78 }
79 ]
80}
View as plain text