Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Stop add follower retries when the follower is already present #571

Merged
merged 2 commits into from
Nov 15, 2024

Conversation

merlimat
Copy link
Collaborator

When coordinator receives a timeout on AddFollower() operation, the subsequent retries might fails, because the follower could have be added by the leader.

This leaves the coordinator to keep retrying the AddFollower() (and NewTerm()) indefinitely.

If the same follower is already added by leader, it's safe to stop retrying.

@merlimat merlimat merged commit 9bc91d7 into streamnative:main Nov 15, 2024
3 of 4 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants