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 reconnecting if a list of hosts|uris was given. At the seconds+ failover #204

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

GreenRover
Copy link

If you give >=2 hosts/uris i fixed following bug:

Initial state:
host a: passive
host b: active

Connected to host b succesfull ;-)

Failover 1:
host a: active
host b: passive

Reconnected to host a succesfull ;-)

Failover 2:
host a: passive
host b: active

Only try to connect to host a but never to host b )-;
Reconnection attempt will faill forever.
CHANGE: Now on reconnect it will loop through all hosts until it find one up and running.

…ailover

Signed-off-by: Heiko Henning UE85540 <heiko.henning@sbb.ch>
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.

1 participant