sqldb: reset out of scope containers on potential ExecTx retry
As SQL serializaton errors can lead to transaction retries we need to ensure that we reset any out of scope containers where we accumulate results. Otherwise partial data from a previously executed transacton retry may be returned along with the latest result.
This commit is contained in:
2 files changed
+8
-1
No files matched your search
@@ -401,6 +401,9 @@ bitcoin peers' feefilter values into account](https://github.com/lightningnetwor
|
||||
start](https://github.com/lightningnetwork/lnd/pull/8568) if native SQL is
|
||||
enabled but the channeldb already has any KV invoices stored.
|
||||
|
||||
* [Fix a bug](https://github.com/lightningnetwork/lnd/pull/8595) when retrying
|
||||
SQL InvoiceDB transactions due to database errors.
|
||||
|
||||
## Code Health
|
||||
|
||||
* [Remove database pointers](https://github.com/lightningnetwork/lnd/pull/8117)
|
||||
|
||||
Reference in new issue
Block a user