Skip to content
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.

Ensure correct leader address is returned by followers #284

Merged
merged 2 commits into from
Feb 24, 2017

Conversation

kuujo
Copy link
Member

@kuujo kuujo commented Feb 24, 2017

This PR fixes a bug in the ConnectResponse sent by followers/passive nodes. These nodes were sending the local address as the leader. When a client uses a FOLLOWERS connection strategy, this can cause the client to continuously switch servers trying to get away from the leader.

@kuujo kuujo added the bug label Feb 24, 2017
@kuujo kuujo merged commit 7e1940d into master Feb 24, 2017
@kuujo kuujo deleted the connect-response-leader branch February 24, 2017 09:12
@coveralls
Copy link

Coverage Status

Coverage remained the same at 46.587% when pulling b33a932 on connect-response-leader into b25302e on master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants