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

IGNITE-23747 Support timeouts for RO transactions #4902

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

rpuch
Copy link
Contributor

@rpuch rpuch commented Dec 13, 2024

https://issues.apache.org/jira/browse/IGNITE-23747

  • Timeouts for RO transactions are supported
  • A new configuration property (ignite.transaction.timeout) is added to configure default transaction timeout
  • After the timeout expires, an RO transaction gets aborted; we rely on existing cleanup mechanism to close remote cursors of this transaction
  • RO transaction is guaranteed to not be aborted automatically until its timeout expires, but it might live longer than its timeout
  • TxManager API has been revamped to make distinction between implicit and explicit transaction initiation more visible

@rpuch rpuch force-pushed the ignite-23747 branch 4 times, most recently from 3765ce4 to 62cf1af Compare December 14, 2024 11:29
* Timeouts for RO transactions are supported
* Data availability time is used as a default RO transaction timeout
* After the timeout expires, an RO transaction gets aborted; we rely on existing cleanup mechanism to close remote cursors of this transaction and unlock its LWM locks
* RO transaction is guaranteed to not be aborted automatically until its timeout expires, but it might live longer than its timeout
* TxManager API has been revamped to make distinction between implicit and explicit transaction initiation more visible
@PakhomovAlexander
Copy link
Contributor

LGTM

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.

6 participants