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

Handle an edge case of removing server #129

Merged
merged 1 commit into from
Aug 25, 2020
Merged

Conversation

greensky00
Copy link
Contributor

  • If handle_join_leave_rpc_err is called but srv_to_leave_ is
    already set, that function is probably invoked by handle_hb_timeout.
    In such a case, the server to be removed does not respond while the
    leader already generated the log for the configuration change.
    We should abandon the peer entry from peers_.

* If `handle_join_leave_rpc_err` is called but `srv_to_leave_` is
already set, that function is probably invoked by `handle_hb_timeout`.
In such a case, the server to be removed does not respond while the
leader already generated the log for the configuration change.
We should abandon the peer entry from `peers_`.
@greensky00 greensky00 merged commit e0994f8 into eBay:master Aug 25, 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