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