Commit 0ebd9da
authored
Ignore ErrTxDone when closing transactions (#3738)
Transactions can be closed in indirect ways, such as the context being cancelled. The old code would log an error when then occurred, but the new code checks for the transaction already being closed and treats this as a success. Fixes #3734 and fixes #2998. Note that this doesn't change the behaviour except for the log output spam.1 parent 1bcf792 commit 0ebd9da
2 files changed
+8
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
136 | 139 | | |
137 | 140 | | |
138 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | 416 | | |
426 | 417 | | |
427 | 418 | | |
428 | 419 | | |
429 | 420 | | |
430 | 421 | | |
431 | | - | |
432 | | - | |
| 422 | + | |
| 423 | + | |
433 | 424 | | |
| 425 | + | |
434 | 426 | | |
435 | | - | |
| 427 | + | |
436 | 428 | | |
0 commit comments