...
1{
2 "description": "Discover arbiters 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 "arbiters": [
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}
View as plain text