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 a couple of bugs on removing servers #102

Merged
merged 1 commit into from
Feb 27, 2020
Merged

Conversation

greensky00
Copy link
Contributor

  • When we check the response from to-be-removed server, we should
    make sure that its last log index is bigger than the target index.
    If the to-be-removed server restarts, it may return response but
    may not sync up the latest config yet.

  • Adding server logic should check srv_to_leave_ node is gone,
    before duplicate ID checking.

* When we check the response from to-be-removed server, we should
make sure that its last log index is bigger than the target index.
If the to-be-removed server restarts, it may return response but
may not sync up the latest config yet.

* Adding server logic should check `srv_to_leave_` node is gone,
before duplicate ID checking.
@greensky00 greensky00 merged commit 89d7bd3 into eBay:master Feb 27, 2020
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