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

rpc: Add timout for waiting on semaphore in reconnect #4180

Merged
merged 2 commits into from
Apr 4, 2022

Commits on Apr 4, 2022

  1. rpc: Add timout to waiting on semaphore in reconnect

    It solves the problem like:
    1) controller leader node try to reconnect to one of follower
    2) Follower is isolated and reconnect will be lock semaphore
    during timeout
    3) Heartbit manager will try to send hb to isolated node
    and will be blocked on semaphore
    4) Another heartbits will wait hb from step 3
    5) Controller leader node will think that
    another nodes are failed
    
    Fixes redpanda-data#4071
    VadimPlh committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    7f9fed4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3fbdac5 View commit details
    Browse the repository at this point in the history