Debian Codegraph @

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

raw symbols SCIP
1 {
2 "description": "Record max setVersion, even from primary without 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": 17
24 }
25 ]
26 ],
27 "outcome": {
28 "servers": {
29 "a:27017": {
30 "type": "RSPrimary",
31 "setName": "rs",
32 "setVersion": 1,
33 "electionId": {
34 "$oid": "000000000000000000000001"
35 }
36 },
37 "b:27017": {
38 "type": "Unknown",
39 "setName": null,
40 "electionId": null
41 }
42 },
43 "topologyType": "ReplicaSetWithPrimary",
44 "logicalSessionTimeoutMinutes": null,
45 "setName": "rs",
46 "maxSetVersion": 1,
47 "maxElectionId": {
48 "$oid": "000000000000000000000001"
49 }
50 }
51 },
52 {
53 "responses": [
54 [
55 "b:27017",
56 {
57 "ok": 1,
58 "helloOk": true,
59 "isWritablePrimary": true,
60 "hosts": [
61 "a:27017",
62 "b:27017"
63 ],
64 "setName": "rs",
65 "setVersion": 2,
66 "minWireVersion": 0,
67 "maxWireVersion": 17
68 }
69 ]
70 ],
71 "outcome": {
72 "servers": {
73 "a:27017": {
74 "type": "RSPrimary",
75 "setName": "rs",
76 "setVersion": 1,
77 "electionId": {
78 "$oid": "000000000000000000000001"
79 }
80 },
81 "b:27017": {
82 "type": "Unknown",
83 "setName": null,
84 "electionId": null
85 }
86 },
87 "topologyType": "ReplicaSetWithPrimary",
88 "logicalSessionTimeoutMinutes": null,
89 "setName": "rs",
90 "maxSetVersion": 1,
91 "maxElectionId": {
92 "$oid": "000000000000000000000001"
93 }
94 }
95 },
96 {
97 "responses": [
98 [
99 "a:27017",
100 {
101 "ok": 1,
102 "helloOk": true,
103 "isWritablePrimary": true,
104 "hosts": [
105 "a:27017",
106 "b:27017"
107 ],
108 "setName": "rs",
109 "setVersion": 1,
110 "electionId": {
111 "$oid": "000000000000000000000002"
112 },
113 "minWireVersion": 0,
114 "maxWireVersion": 17
115 }
116 ]
117 ],
118 "outcome": {
119 "servers": {
120 "a:27017": {
121 "type": "RSPrimary",
122 "setName": "rs",
123 "setVersion": 1,
124 "electionId": {
125 "$oid": "000000000000000000000002"
126 }
127 },
128 "b:27017": {
129 "type": "Unknown",
130 "setName": null,
131 "electionId": null
132 }
133 },
134 "topologyType": "ReplicaSetWithPrimary",
135 "logicalSessionTimeoutMinutes": null,
136 "setName": "rs",
137 "maxSetVersion": 1,
138 "maxElectionId": {
139 "$oid": "000000000000000000000002"
140 }
141 }
142 }
143 ]
144 }