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

Purge stale nodes with same prefix and IP #1467

Merged
merged 1 commit into from
Sep 23, 2016
Merged

Commits on Sep 23, 2016

  1. Purge stale nodes with same prefix and IP

    Since the node name randomization fix, we need to make sure that we
    purge the old node with the same prefix and same IP from the nodes
    database if it still present. This causes unnecessary reconnect
    attempts.
    
    Also added a change to avoid unnecessary update of local lamport time
    and only do it of we are ready to do a push pull on a join. Join should
    happen only when the node is bootstrapped or when trying to reconnect
    with a failed node.
    
    Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
    mrjana committed Sep 23, 2016
    Configuration menu
    Copy the full SHA
    520a4c5 View commit details
    Browse the repository at this point in the history