...
1{
2 "description": "New primary",
3 "uri": "mongodb://a,b/?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 "outcome": {
24 "servers": {
25 "a:27017": {
26 "type": "RSPrimary",
27 "setName": "rs"
28 },
29 "b:27017": {
30 "type": "Unknown",
31 "setName": null
32 }
33 },
34 "topologyType": "ReplicaSetWithPrimary",
35 "logicalSessionTimeoutMinutes": null,
36 "setName": "rs"
37 }
38 },
39 {
40 "responses": [
41 [
42 "b:27017",
43 {
44 "ok": 1,
45 "helloOk": true,
46 "isWritablePrimary": true,
47 "setName": "rs",
48 "hosts": [
49 "a:27017",
50 "b:27017"
51 ],
52 "minWireVersion": 0,
53 "maxWireVersion": 6
54 }
55 ]
56 ],
57 "outcome": {
58 "servers": {
59 "a:27017": {
60 "type": "Unknown",
61 "setName": null
62 },
63 "b:27017": {
64 "type": "RSPrimary",
65 "setName": "rs"
66 }
67 },
68 "topologyType": "ReplicaSetWithPrimary",
69 "logicalSessionTimeoutMinutes": null,
70 "setName": "rs"
71 }
72 }
73 ]
74}
View as plain text