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

Any potential improvements for raft election when instances fail #12795

Open
hicqu opened this issue Jun 10, 2022 · 2 comments
Open

Any potential improvements for raft election when instances fail #12795

hicqu opened this issue Jun 10, 2022 · 2 comments
Assignees
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@hicqu
Copy link
Contributor

hicqu commented Jun 10, 2022

Question

I have adding a metrics to show how many rounds are necessary to elect a new region leader when one TiKV instance fail. Here is the result:
图片

The picture shows how many election rounds are used to get a new region leader. 376K regions use 1 round but 18K regions use 2 round.

Currently it's expected but maybe it's possible to improve it.

@hicqu hicqu self-assigned this Jun 10, 2022
@BusyJay
Copy link
Member

BusyJay commented Jun 10, 2022

tikv/raft-rs#420 should improve this.

@Lily2025
Copy link

/type enhancement

@ti-chi-bot ti-chi-bot added the type/enhancement The issue or PR belongs to an enhancement. label Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

4 participants