...
1{
2 "description": "Primary becomes ghost",
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 "setName": "rs",
17 "minWireVersion": 0,
18 "maxWireVersion": 6
19 }
20 ]
21 ],
22 "outcome": {
23 "servers": {
24 "a:27017": {
25 "type": "RSPrimary",
26 "setName": "rs"
27 }
28 },
29 "topologyType": "ReplicaSetWithPrimary",
30 "logicalSessionTimeoutMinutes": null,
31 "setName": "rs"
32 }
33 },
34 {
35 "responses": [
36 [
37 "a:27017",
38 {
39 "ok": 1,
40 "helloOk": true,
41 "isWritablePrimary": false,
42 "isreplicaset": true,
43 "minWireVersion": 0,
44 "maxWireVersion": 6
45 }
46 ]
47 ],
48 "outcome": {
49 "servers": {
50 "a:27017": {
51 "type": "RSGhost",
52 "setName": null
53 }
54 },
55 "topologyType": "ReplicaSetNoPrimary",
56 "logicalSessionTimeoutMinutes": null,
57 "setName": "rs"
58 }
59 }
60 ]
61}
View as plain text