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

[close #736] Select reachable store (#737) #742

Merged

Conversation

ti-chi-bot
Copy link
Member

This is an automated cherry-pick of #737

What problem does this PR solve?

Issue Number: close #736

What is changed and how does it work?

Judge store status before use. Use the next replica when the current replica is unreachable.

Test

I have tested in TiSpark follower read with the first store killed, its success to request the next store.

close tikv#736

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: shiyuhang <1136742008@qq.com>
Signed-off-by: shiyuhang <1136742008@qq.com>
@shiyuhang0 shiyuhang0 force-pushed the cherry-pick-737-to-release-3.3 branch from afc190b to b82155a Compare April 27, 2023 10:44
@codecov
Copy link

codecov bot commented Apr 27, 2023

Codecov Report

❗ No coverage uploaded for pull request base (release-3.3@a958699). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@              Coverage Diff               @@
##             release-3.3     #742   +/-   ##
==============================================
  Coverage               ?   37.90%           
  Complexity             ?     1608           
==============================================
  Files                  ?      278           
  Lines                  ?    17493           
  Branches               ?     1989           
==============================================
  Hits                   ?     6630           
  Misses                 ?    10198           
  Partials               ?      665           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@zhangyangyu zhangyangyu merged commit 4463abb into tikv:release-3.3 Apr 27, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants