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

feat: retry by cases and increment retry interval #252

Merged
merged 3 commits into from
Dec 16, 2022

Conversation

veezhang
Copy link
Contributor

@veezhang veezhang commented Dec 15, 2022

feat: retry by cases and increment retry interval

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

Issue(s) number:

#251
#250
#237
#234
#216

Description:

How do you solve it?

Special notes for your reviewer, ex. impact of this fix, design document, etc:

}

// Case 2. retry as much as possible
if strings.Contains(errorMsg, "raft buffer is full") {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a error code to represent the raft buffer error? this comparison will fail when the error message updated. better to compare the error code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@veezhang veezhang merged commit 265cadb into vesoft-inc:master Dec 16, 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.

2 participants