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

Support server array constructor #6

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

byplayer
Copy link
Member

  • Support server array constructor
  • Fix connection error issue when pooling socket is closed by server
  • Fix NullPointer exception when call roma function before initialize routingData

byplayer and others added 17 commits July 25, 2017 12:50
If pooled socket expired by ROMA server, socket is closed, but
client still has that connection. In that case, client received
error. So I checked exception, and catch it, then retry once.
When routing isn't created, then null pointer exception occur
When getConnection is called before initialize routingData,
target function throws null pointer exception.
When Pooled connection are closed by server, this method
return exception. So add retry logic for it.
Change test ROMA port 11211,11311 to 11311,11411, because
11211 port is unstable on travis CI.
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.

None yet

1 participant