...
1{
2 "description": "Secondary's host list is not authoritative",
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 "setName": "rs",
14 "hosts": [
15 "a:27017",
16 "b:27017"
17 ],
18 "minWireVersion": 0,
19 "maxWireVersion": 6
20 }
21 ],
22 [
23 "b:27017",
24 {
25 "ok": 1,
26 "helloOk": true,
27 "isWritablePrimary": false,
28 "secondary": true,
29 "setName": "rs",
30 "hosts": [
31 "b:27017",
32 "c:27017"
33 ],
34 "minWireVersion": 0,
35 "maxWireVersion": 6
36 }
37 ]
38 ],
39 "outcome": {
40 "servers": {
41 "a:27017": {
42 "type": "RSPrimary",
43 "setName": "rs"
44 },
45 "b:27017": {
46 "type": "RSSecondary",
47 "setName": "rs"
48 }
49 },
50 "topologyType": "ReplicaSetWithPrimary",
51 "logicalSessionTimeoutMinutes": null,
52 "setName": "rs"
53 }
54 }
55 ]
56}
View as plain text