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

QueryHost force abort when expired in continuations mode #481

Merged
merged 2 commits into from May 19, 2022

Conversation

barspi
Copy link
Contributor

@barspi barspi commented May 19, 2022

The synchronous, non-continuations, mode aborts then txn when the mux does not respond.

When in continuations mode, the txn will just simply proceed on to the next participant (who now has the responsibility to explicitly check if QueryHost really succeeded).

By doing a ctx.getPausedTransaction().forceAbort() when the mux.request expired, we now have the same behavior in practice: the txnmgr will initiate an abort phase right after resuming the txn.

@ar ar merged commit 1586470 into jpos:master May 19, 2022
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.

None yet

2 participants