Commit a2316b9
authored
Fix error
After `RUN` has successfully been sent, the server might commit the transaction
at any time (but no later than when the result stream has been fully consumed).
Therefore, any disconnect (i/o error) that occurs after an auto-commit's `RUN`
has been sent must be considered to have happened `during_commit`. This most
notably affects `Neo4jError::is_retryable`.during_commit tracking in auto-commit transactions (#49)1 parent ea939eb commit a2316b9
File tree
3 files changed
+7
-10
lines changed- neo4j/src/driver
- session
3 files changed
+7
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
106 | 103 | | |
107 | | - | |
108 | | - | |
109 | 104 | | |
| 105 | + | |
110 | 106 | | |
111 | 107 | | |
112 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
0 commit comments