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

Add check heartbeat to leader. #1888

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

small-turtle-1
Copy link
Contributor

What problem does this PR solve?

When change role to leader, check heartbeat from follower and learner. If difference between last update ts and current ts is larger than 2 * heartbeat ts, the follower/learner is set as timeout.

Type of change

  • New Feature (non-breaking change which adds functionality)

@small-turtle-1 small-turtle-1 added the ci PR can be test label Sep 19, 2024
@JinHai-CN JinHai-CN merged commit e2263b4 into infiniflow:main Sep 19, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci PR can be test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants