Debian Codegraph @

testdata/server-discovery-and-monitoring/errors/non-stale-network-error.json

raw symbols SCIP
1 {
2 "description": "Non-stale network error",
3 "uri": "mongodb://a/?replicaSet=rs",
4 "phases": [
5 {
6 "description": "Primary A is discovered",
7 "responses": [
8 [
9 "a:27017",
10 {
11 "ok": 1,
12 "helloOk": true,
13 "isWritablePrimary": true,
14 "hosts": [
15 "a:27017"
16 ],
17 "setName": "rs",
18 "minWireVersion": 0,
19 "maxWireVersion": 9,
20 "topologyVersion": {
21 "processId": {
22 "$oid": "000000000000000000000001"
23 },
24 "counter": {
25 "$numberLong": "1"
26 }
27 }
28 }
29 ]
30 ],
31 "outcome": {
32 "servers": {
33 "a:27017": {
34 "type": "RSPrimary",
35 "setName": "rs",
36 "topologyVersion": {
37 "processId": {
38 "$oid": "000000000000000000000001"
39 },
40 "counter": {
41 "$numberLong": "1"
42 }
43 },
44 "pool": {
45 "generation": 0
46 }
47 }
48 },
49 "topologyType": "ReplicaSetWithPrimary",
50 "logicalSessionTimeoutMinutes": null,
51 "setName": "rs"
52 }
53 },
54 {
55 "description": "Non-stale network error marks server Unknown",
56 "applicationErrors": [
57 {
58 "address": "a:27017",
59 "when": "afterHandshakeCompletes",
60 "maxWireVersion": 9,
61 "type": "network"
62 }
63 ],
64 "outcome": {
65 "servers": {
66 "a:27017": {
67 "type": "Unknown",
68 "topologyVersion": null,
69 "pool": {
70 "generation": 1
71 }
72 }
73 },
74 "topologyType": "ReplicaSetNoPrimary",
75 "logicalSessionTimeoutMinutes": null,
76 "setName": "rs"
77 }
78 }
79 ]
80 }