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

After the leader changed, the first tso request cannot be directly forwarded to the new leader #7997

Closed
Tracked by #8047
CabinfeverB opened this issue Mar 28, 2024 · 0 comments · Fixed by #8123
Closed
Tracked by #8047
Labels
severity/moderate type/bug The issue is confirmed as a bug.

Comments

@CabinfeverB
Copy link
Member

Bug Report

What did you do?

as title

What did you expect to see?

What did you see instead?

What version of PD are you using (pd-server -V)?

@CabinfeverB CabinfeverB added type/bug The issue is confirmed as a bug. severity/moderate labels Mar 28, 2024
ti-chi-bot bot pushed a commit that referenced this issue Apr 28, 2024
close #7997, ref #8047

Previously, without enabling the TSO Follower Proxy, we only passively update its stream when a TSO request fails.
This means that we cannot automatically and gradually complete the TSO stream update after a service switch.
This PR strengthens this logic, which can improve the success rate of TSO requests during service switching.

Signed-off-by: JmPotato <ghzpotato@gmail.com>
nolouch pushed a commit to nolouch/pd that referenced this issue Apr 29, 2024
close tikv#7997, ref tikv#8047

Previously, without enabling the TSO Follower Proxy, we only passively update its stream when a TSO request fails.
This means that we cannot automatically and gradually complete the TSO stream update after a service switch.
This PR strengthens this logic, which can improve the success rate of TSO requests during service switching.

Signed-off-by: JmPotato <ghzpotato@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/moderate type/bug The issue is confirmed as a bug.
Projects
1 participant