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

release/v21.03: fix(Raft): Detect network partition when streaming #7908

Merged
merged 1 commit into from
Jun 22, 2021

Commits on Jun 21, 2021

  1. fix(Raft): Detect network partition when streaming

    When streaming raft messages in k8s cluster, we don't seem to get an
    error if the send didn't succeed. The packets get queued up, but don't
    fail and don't get sent. This causes a long re-election process.
    
    This PR periodically tries to send a message to the destination node via
    IsPeer, so it has another way to test the connection. If that fails, the
    streaming fails too, and the node is marked as unreachable.
    manishrjain authored and danielmai committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    1064172 View commit details
    Browse the repository at this point in the history