Commit 3d54447
authored
Don't attempt to rollback when connections are lost (#7240)
| Q | A
|------------- | -----------
| Type | bug
#### Summary
It's useless to try to perform a rollback when there's no active
connection, not to mention that the use of `NoActiveTransaction`
exceptions masks the real underlying issue.
This attempts to fix the problem by detecting connection issues and
bypassing rollbacks.
Signed-off-by: Luís Cobucci <lcobucci@gmail.com>1 parent 1cbda9f commit 3d54447
2 files changed
+26
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
964 | 964 | | |
965 | 965 | | |
966 | 966 | | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
967 | 970 | | |
968 | | - | |
| 971 | + | |
969 | 972 | | |
970 | 973 | | |
971 | 974 | | |
| |||
981 | 984 | | |
982 | 985 | | |
983 | 986 | | |
| 987 | + | |
984 | 988 | | |
985 | 989 | | |
986 | 990 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
51 | 72 | | |
52 | 73 | | |
53 | 74 | | |
| |||
0 commit comments