Skip to content

Conversation

@lausannel
Copy link
Collaborator

This PR fixes #13

  1. The SocketException is caused by the unhandled Exception in Open method, stemming from the initialization process of TCPClient.
  2. The IOException occurred due to a missing transport closure in the Reconnect method when only one single endpoint is available.

With these changes, a unified exception type is now returned when a query statement execution fails.

@lausannel lausannel changed the title fix: handle IOException and SocketException Handle IOException and SocketException Aug 25, 2024
Copy link
Contributor

@CritasWang CritasWang left a comment

Choose a reason for hiding this comment

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

Cool, Now the client has become stronger~

LGTM

@HTHou HTHou merged commit 5211c9c into apache:main Aug 28, 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.

Reconnection Failed after Restarting the Server

3 participants