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

Collect XA Resources for transaction recovery feature #722

Closed

Conversation

dsplayerX
Copy link

Purpose

For the transaction recovery feature, the transaction manager maintains a list of XA resources. When new data sources are created, an XAResource associated with each data source is generated and registered with the transaction manager. This enables the transaction manager to effectively handle crash recovery for all involved resources.

Related: ballerina-platform/ballerina-lang#42031

Related PRs:
ballerina-lang: ballerina-platform/ballerina-lang#42080
ballerinai-transaction: ballerina-platform/module-ballerinai-transaction#537

Examples

Checklist

  • Linked to an issue
  • Updated the specification
  • Updated the changelog
  • Added tests
  • Checked native-image compatibility

For the transaction recovery feature, the transaction manager keeps a xa resources list to handle transaction recovery. For that when new datasources are created a XAResource for that datasource is created and sent to the transaction manager to handle crash recovery.
Copy link

This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the stale label is removed or commented.

@github-actions github-actions bot added the Stale label Jul 10, 2024
Copy link

Closed PR due to inactivity for more than 18 days.

@github-actions github-actions bot closed this Jul 13, 2024
@TharmiganK TharmiganK removed the Stale label Aug 8, 2024
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