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

Improving system high availability when the disk experiences jitter. #7377

Open
bufferflies opened this issue Nov 16, 2023 · 1 comment
Open
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@bufferflies
Copy link
Contributor

Enhancement Task

The current leader and TSO services rely on the etcd lease functionality. When the disk experiences jitter, it may cause the leader or TSO service to become unavailable or have very high latency, severely impacting the TIDB service.

we can transfer pd leader into another pd follower to mitigate the affects for the tso if the leader's disk experiences jitter. I believe the probability of all three disks experiencing disk jitter simultaneously should be very low.

@bufferflies bufferflies added the type/enhancement The issue or PR belongs to an enhancement. label Nov 16, 2023
ti-chi-bot bot added a commit that referenced this issue Nov 16, 2023
close #7251, ref #7377

when pd leader frequently campaign leader, but etcd leader did not change.
We need to prevent this pd leader campaign and resign to another member.

Signed-off-by: husharp <jinhao.hu@pingcap.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
@bufferflies
Copy link
Contributor Author

closed #7301

@bufferflies bufferflies reopened this Jan 9, 2024
ti-chi-bot bot added a commit that referenced this issue Feb 2, 2024
close #7251, ref #7377

when pd leader frequently campaign leader, but etcd leader did not change.
We need to prevent this pd leader campaign and resign to another member.

Signed-off-by: husharp <jinhao.hu@pingcap.com>

Co-authored-by: husharp <jinhao.hu@pingcap.com>
Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
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

1 participant