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

Add transaction recoverability #43572

Closed
wants to merge 76 commits into from
Closed

Add transaction recoverability #43572

wants to merge 76 commits into from

Conversation

gimantha
Copy link
Contributor

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues.

Partially fix #42031

Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

  • Read the Contributing Guide
  • Updated Change Log
  • Checked Tooling Support (#)
  • Added necessary tests
    • Unit Tests
    • Spec Conformance Tests
    • Integration Tests
    • Ballerina By Example Tests
  • Increased Test Coverage
  • Added necessary documentation
    • API documentation
    • Module documentation in Module.md files
    • Ballerina By Examples

dsplayerX and others added 24 commits March 11, 2024 10:21
- Introduced mockito as a dependency.
- Added unit tests for RecoveryManager and LogManager.
Previously, concurrent calls to createNextVersion() or put() could result in race conditions where multiple threads could attempt to initialize the appendChannel simultaneously. This was addressed by adding a double-checked locking mechanism to ensure that only one thread initializes the appendChannel when it's null.
Implement Transaction Recovery for XA Resources
Copy link

sonarcloud bot commented Nov 12, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
E Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@gimantha gimantha closed this Nov 13, 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.

[Task]: Extending Ballerina's Transaction Support to Include Transaction Recovery
2 participants