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

retry: make backoff more reasonable for DataNotReady #550

Merged
merged 1 commit into from
Jul 19, 2022

Conversation

nolouch
Copy link
Contributor

@nolouch nolouch commented Jul 19, 2022

Signed-off-by: nolouch nolouch@gmail.com

Once the data not ready error is encountered, it will back off and try the next peer. BTW, most scenarios using stale read are latency sensitive, 100ms is a relatively large value.
such as:
image

Signed-off-by: nolouch <nolouch@gmail.com>
@youjiali1995 youjiali1995 merged commit 6166801 into tikv:master Jul 19, 2022
@nolouch nolouch deleted the small-backoff branch July 19, 2022 11:56
@nolouch nolouch restored the small-backoff branch July 19, 2022 11:56
@nolouch nolouch deleted the small-backoff branch July 19, 2022 11:56
@nolouch nolouch restored the small-backoff branch July 19, 2022 11:57
nolouch added a commit to nolouch/client-go that referenced this pull request Jul 19, 2022
Signed-off-by: nolouch <nolouch@gmail.com>
disksing pushed a commit that referenced this pull request Jul 25, 2022
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