Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of pending transactions in v16 at startup #239

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

Pietfried
Copy link
Contributor

Now only stopping pending transactions if StopTransaction.req was not yet queued in a previous run.

This change is required because without this check the StopTransaction.req could be sent twice for the same transaction on startup because since e865d20 the transaction message queue is also loaded on startup.

stop_pending_transactions now only stops transaction for which not StopTransaction.req was queued (sudden PowerLoss)

@Pietfried Pietfried requested a review from hikinggrass November 1, 2023 12:08
…queued; This change is required because without this check the StopTransaction.req could be sent twice for the same transaction on startup because since e865d20 the transaction message queue is also loaded on startup

Signed-off-by: pietfried <[email protected]>
@Pietfried Pietfried force-pushed the pg-transaction-handling-on-power-loss branch from 757b6be to 6f62033 Compare November 1, 2023 12:09
@hikinggrass hikinggrass merged commit 4c5d505 into main Nov 3, 2023
@hikinggrass hikinggrass deleted the pg-transaction-handling-on-power-loss branch November 3, 2023 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants