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

Backport the stale read optimizations to 6.5 #818

Merged
merged 2 commits into from
May 29, 2023

Conversation

you06
Copy link
Contributor

@you06 you06 commented May 26, 2023

Backport #776 and #792.

you06 added 2 commits May 26, 2023 14:01
* remove stale-read when key-is-locked

Signed-off-by: you06 <[email protected]>

* disable follower read for batch get

Signed-off-by: you06 <[email protected]>

* the stale-read flag may already set to false

Signed-off-by: you06 <[email protected]>

* fix batchget

Signed-off-by: you06 <[email protected]>

* Reset busy-threshold when stale read fallback to leader read

Signed-off-by: you06 <[email protected]>

* address comment

Signed-off-by: you06 <[email protected]>

* trigger CI

Signed-off-by: you06 <[email protected]>

---------

Signed-off-by: you06 <[email protected]>
@cfzjywxk cfzjywxk merged commit a78518e into tikv:tidb-6.5 May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants