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

Added case for XAER_RMFAIL #2132

Merged
merged 2 commits into from
May 29, 2023
Merged

Added case for XAER_RMFAIL #2132

merged 2 commits into from
May 29, 2023

Conversation

tkyc
Copy link
Member

@tkyc tkyc commented May 24, 2023

@tkyc tkyc force-pushed the xa-rmfail-error-2130 branch from b5389f8 to 25c8aa3 Compare May 24, 2023 20:46
@lilgreenbird lilgreenbird added this to the 12.3.1 milestone May 24, 2023
return true;
default:
return false;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just return err == CONN_RESET

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or actually just
return (root instanceof SocketException) && err == CONN_RESET

@lilgreenbird lilgreenbird merged commit aa73d00 into main May 29, 2023
@David-Engel David-Engel deleted the xa-rmfail-error-2130 branch June 28, 2023 18:35
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.

JDBC Driver still throwing XAException with error code XAER_RMERR on AG failover.
3 participants