-
Notifications
You must be signed in to change notification settings - Fork 201
Commit f7c0ce6
authored
Keep routing table entries on failed liveness check (#1221)
On failed liveness check (s. `liveness_check_timeout` configuration option), the
driver will no longer remove the remote from the cached routing tables, but only
close the connection under test. This aligns the driver with the other official
Neo4j drivers.1 parent 83f1fa1 commit f7c0ce6
File tree
18 files changed
+362
-46
lines changed- src/neo4j
- _async/io
- _sync/io
- testkitbackend
- tests/unit
- async_
- fixtures
- io
- sync
- fixtures
- io
18 files changed
+362
-46
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
187 | 187 |
| |
188 | 188 |
| |
189 | 189 |
| |
190 | + | ||
191 | + | ||
192 | + | ||
190 | 193 |
| |
191 | 194 |
| |
192 | 195 |
| |
|
Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
306 | 306 |
| |
307 | 307 |
| |
308 | 308 |
| |
309 | + | ||
310 | + | ||
311 | + | ||
309 | 312 |
| |
310 | 313 |
| |
311 | 314 |
| |
| |||
352 | 355 |
| |
353 | 356 |
| |
354 | 357 |
| |
355 | - | ||
358 | + | ||
356 | 359 |
| |
357 | 360 |
| |
358 | 361 |
| |
359 | 362 |
| |
360 | 363 |
| |
364 | + | ||
365 | + | ||
366 | + | ||
361 | 367 |
| |
362 | 368 |
| |
363 | 369 |
| |
|
Lines changed: 15 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
126 | 126 |
| |
127 | 127 |
| |
128 | 128 |
| |
129 | + | ||
130 | + | ||
131 | + | ||
129 | 132 |
| |
130 | 133 |
| |
131 | 134 |
| |
| |||
758 | 761 |
| |
759 | 762 |
| |
760 | 763 |
| |
764 | + | ||
765 | + | ||
766 | + | ||
767 | + | ||
768 | + | ||
769 | + | ||
770 | + | ||
761 | 771 |
| |
762 | 772 |
| |
763 | 773 |
| |
| |||
934 | 944 |
| |
935 | 945 |
| |
936 | 946 |
| |
937 | - | ||
947 | + | ||
948 | + | ||
949 | + | ||
950 | + | ||
951 | + | ||
938 | 952 |
| |
939 | 953 |
| |
940 | 954 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
355 | 355 |
| |
356 | 356 |
| |
357 | 357 |
| |
358 | - | ||
358 | + | ||
359 | 359 |
| |
360 | 360 |
| |
361 | 361 |
| |
|
Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
193 | 193 |
| |
194 | 194 |
| |
195 | 195 |
| |
196 | + | ||
197 | + | ||
198 | + | ||
199 | + | ||
200 | + | ||
201 | + | ||
202 | + | ||
203 | + | ||
204 | + | ||
205 | + | ||
206 | + |
Lines changed: 15 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | - | ||
15 | - | ||
16 | - | ||
14 | + | ||
17 | 15 |
| |
18 | 16 |
| |
19 | 17 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 | + | ||
58 | 59 |
| |
59 | 60 |
| |
60 | 61 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
113 | + | ||
114 | + | ||
115 | + | ||
116 | + | ||
113 | 117 |
| |
114 | 118 |
| |
115 | 119 |
| |
|
0 commit comments