Commit da58ba2
Zhen
Fixed the infinite running error
Removed some old stale files in the resources folder
There is an infinite loop in `session._begin_tx` method where a tx is created before a conn is really established.
As a result, if the server went down before the session is closed, then in `session._close`, the session will see a tx should be rolled back and blocks infinitly on `tx._roll_back.consume` as no record will ever return.
This PR makes sure that in `session._begin_tx`, a tx is created after a conn is established.1 parent 6297ea6 commit da58ba2
File tree
20 files changed
+19
-105
lines changed- neo4j
- bolt
- v1
- test
- examples
- resources
- stub
- scripts
20 files changed
+19
-105
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| 461 | + | |
| 462 | + | |
461 | 463 | | |
462 | 464 | | |
463 | 465 | | |
| |||
500 | 502 | | |
501 | 503 | | |
502 | 504 | | |
503 | | - | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
504 | 509 | | |
505 | 510 | | |
506 | 511 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
428 | | - | |
429 | 428 | | |
| 429 | + | |
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments