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

Cherry pick some patches to 7.1 #940

Merged
merged 9 commits into from
Sep 26, 2023
Merged

Cherry pick some patches to 7.1 #940

merged 9 commits into from
Sep 26, 2023

Conversation

you06
Copy link
Contributor

@you06 you06 commented Aug 11, 2023

Cherry pick #843, #923, #911, #942 to 7.1 branch.

  • Fix the inbalance issue of replica read request when store is down and up by reloading the latest region in background.
  • For replica read, when leader is busy, fallback to follower.
  • Set max retry for replica read.
  • Add test of replica selector's state for stale read.

@you06 you06 changed the title reload region cache when store is resolved from invalid status (#843) Cherry pick some patches to 7.1 Aug 14, 2023
you06 and others added 6 commits August 15, 2023 15:58
* fallback to follower when leader is busy

Signed-off-by: you06 <[email protected]>
Co-authored-by: cfzjywxk <[email protected]>
Co-authored-by: cfzjywxk <[email protected]>
…ikv#903) (tikv#911)

* Resume max retry time check for stale read retry with leader option

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

* add cancel

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

---------

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

update

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

fix test

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

fix test

Signed-off-by: you06 <[email protected]>
Signed-off-by: you06 <[email protected]>
Signed-off-by: you06 <[email protected]>
Signed-off-by: you06 <[email protected]>
@cfzjywxk
Copy link
Contributor

/cc @crazycs520

Copy link
Contributor

@crazycs520 crazycs520 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cfzjywxk cfzjywxk merged commit 83165bd into tikv:tidb-7.1 Sep 26, 2023
9 checks passed
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