Debian Codegraph @

testdata/server-discovery-and-monitoring/rs/electionId_precedence_setVersion.json

raw symbols SCIP
1 {
2 "description": "ElectionId is considered higher precedence than setVersion",
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": 17
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": 2,
38 "electionId": {
39 "$oid": "000000000000000000000001"
40 },
41 "minWireVersion": 0,
42 "maxWireVersion": 17
43 }
44 ],
45 [
46 "a:27017",
47 {
48 "ok": 1,
49 "helloOk": true,
50 "isWritablePrimary": true,
51 "hosts": [
52 "a:27017",
53 "b:27017"
54 ],
55 "setName": "rs",
56 "setVersion": 1,
57 "electionId": {
58 "$oid": "000000000000000000000002"
59 },
60 "minWireVersion": 0,
61 "maxWireVersion": 17
62 }
63 ]
64 ],
65 "outcome": {
66 "servers": {
67 "a:27017": {
68 "type": "RSPrimary",
69 "setName": "rs",
70 "setVersion": 1,
71 "electionId": {
72 "$oid": "000000000000000000000002"
73 }
74 },
75 "b:27017": {
76 "type": "Unknown",
77 "setName": null,
78 "setVersion": null,
79 "electionId": null
80 }
81 },
82 "topologyType": "ReplicaSetWithPrimary",
83 "logicalSessionTimeoutMinutes": null,
84 "setName": "rs",
85 "maxSetVersion": 1,
86 "maxElectionId": {
87 "$oid": "000000000000000000000002"
88 }
89 }
90 }
91 ]
92 }