1{
2 "description": "Primary with newer topologyVersion",
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": 9,
19 "topologyVersion": {
20 "processId": {
21 "$oid": "000000000000000000000001"
22 },
23 "counter": {
24 "$numberLong": "1"
25 }
26 }
27 }
28 ]
29 ],
30 "outcome": {
31 "servers": {
32 "a:27017": {
33 "type": "RSPrimary",
34 "setName": "rs",
35 "topologyVersion": {
36 "processId": {
37 "$oid": "000000000000000000000001"
38 },
39 "counter": {
40 "$numberLong": "1"
41 }
42 }
43 }
44 },
45 "topologyType": "ReplicaSetWithPrimary",
46 "logicalSessionTimeoutMinutes": null,
47 "setName": "rs"
48 }
49 },
50 {
51 "responses": [
52 [
53 "a:27017",
54 {
55 "ok": 1,
56 "helloOk": true,
57 "isWritablePrimary": true,
58 "hosts": [
59 "a:27017",
60 "b:27017"
61 ],
62 "setName": "rs",
63 "minWireVersion": 0,
64 "maxWireVersion": 9,
65 "topologyVersion": {
66 "processId": {
67 "$oid": "000000000000000000000001"
68 },
69 "counter": {
70 "$numberLong": "2"
71 }
72 }
73 }
74 ]
75 ],
76 "outcome": {
77 "servers": {
78 "a:27017": {
79 "type": "RSPrimary",
80 "setName": "rs",
81 "topologyVersion": {
82 "processId": {
83 "$oid": "000000000000000000000001"
84 },
85 "counter": {
86 "$numberLong": "2"
87 }
88 }
89 },
90 "b:27017": {
91 "type": "Unknown",
92 "topologyVersion": null
93 }
94 },
95 "topologyType": "ReplicaSetWithPrimary",
96 "logicalSessionTimeoutMinutes": null,
97 "setName": "rs"
98 }
99 },
100 {
101 "responses": [
102 [
103 "a:27017",
104 {
105 "ok": 1,
106 "helloOk": true,
107 "isWritablePrimary": true,
108 "hosts": [
109 "a:27017",
110 "c:27017"
111 ],
112 "setName": "rs",
113 "minWireVersion": 0,
114 "maxWireVersion": 9,
115 "topologyVersion": {
116 "processId": {
117 "$oid": "000000000000000000000002"
118 },
119 "counter": {
120 "$numberLong": "0"
121 }
122 }
123 }
124 ]
125 ],
126 "outcome": {
127 "servers": {
128 "a:27017": {
129 "type": "RSPrimary",
130 "setName": "rs",
131 "topologyVersion": {
132 "processId": {
133 "$oid": "000000000000000000000002"
134 },
135 "counter": {
136 "$numberLong": "0"
137 }
138 }
139 },
140 "c:27017": {
141 "type": "Unknown",
142 "topologyVersion": null
143 }
144 },
145 "topologyType": "ReplicaSetWithPrimary",
146 "logicalSessionTimeoutMinutes": null,
147 "setName": "rs"
148 }
149 },
150 {
151 "responses": [
152 [
153 "a:27017",
154 {
155 "ok": 1,
156 "helloOk": true,
157 "isWritablePrimary": true,
158 "hosts": [
159 "a:27017",
160 "d:27017"
161 ],
162 "setName": "rs",
163 "minWireVersion": 0,
164 "maxWireVersion": 9
165 }
166 ]
167 ],
168 "outcome": {
169 "servers": {
170 "a:27017": {
171 "type": "RSPrimary",
172 "setName": "rs",
173 "topologyVersion": null
174 },
175 "d:27017": {
176 "type": "Unknown",
177 "topologyVersion": null
178 }
179 },
180 "topologyType": "ReplicaSetWithPrimary",
181 "logicalSessionTimeoutMinutes": null,
182 "setName": "rs"
183 }
184 },
185 {
186 "responses": [
187 [
188 "a:27017",
189 {
190 "ok": 1,
191 "helloOk": true,
192 "isWritablePrimary": true,
193 "hosts": [
194 "a:27017",
195 "e:27017"
196 ],
197 "setName": "rs",
198 "minWireVersion": 0,
199 "maxWireVersion": 9,
200 "topologyVersion": {
201 "processId": {
202 "$oid": "000000000000000000000003"
203 },
204 "counter": {
205 "$numberLong": "0"
206 }
207 }
208 }
209 ]
210 ],
211 "outcome": {
212 "servers": {
213 "a:27017": {
214 "type": "RSPrimary",
215 "setName": "rs",
216 "topologyVersion": {
217 "processId": {
218 "$oid": "000000000000000000000003"
219 },
220 "counter": {
221 "$numberLong": "0"
222 }
223 }
224 },
225 "e:27017": {
226 "type": "Unknown",
227 "topologyVersion": null
228 }
229 },
230 "topologyType": "ReplicaSetWithPrimary",
231 "logicalSessionTimeoutMinutes": null,
232 "setName": "rs"
233 }
234 },
235 {
236 "responses": [
237 [
238 "a:27017",
239 {}
240 ]
241 ],
242 "outcome": {
243 "servers": {
244 "a:27017": {
245 "type": "Unknown",
246 "topologyVersion": null
247 },
248 "e:27017": {
249 "type": "Unknown",
250 "topologyVersion": null
251 }
252 },
253 "topologyType": "ReplicaSetNoPrimary",
254 "logicalSessionTimeoutMinutes": null,
255 "setName": "rs"
256 }
257 }
258 ]
259}
View as plain text