...
1{
2 "description": "Discover primary with directConnection URI option",
3 "uri": "mongodb://a/?directConnection=false",
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}
View as plain text