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

Fix issue with connection state transfer #418

Merged
merged 1 commit into from
May 3, 2023

Conversation

sergiyvamz
Copy link
Contributor

@sergiyvamz sergiyvamz commented May 1, 2023

Summary

Fix issue with connection state transfer

Description

While switching from read-only connection to a writer connection (for instance, when calling connection.setReadOnly(false) on a connection to replica), transfer session state code raises an exception and that triggers a failover process rather than regular connecting process to a writer.

#426

Additional Reviewers

@karenc-bq
@aaron-congo

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sergiyvamz sergiyvamz force-pushed the optimize-connection-change branch from c67c028 to 790c1ab Compare May 3, 2023 16:45
@sergiyvamz sergiyvamz changed the title [WIP] fix issue with connection state transfer Fix issue with connection state transfer May 3, 2023
@sergiyvamz sergiyvamz merged commit 6cfc4f3 into main May 3, 2023
@sergiyvamz sergiyvamz deleted the optimize-connection-change branch May 3, 2023 18:36
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.

3 participants