Skip to content

fix(chash): ensure retry can try every node#3651

Merged
membphis merged 1 commit into
apache:masterfrom
spacewander:chash_retry
Feb 27, 2021
Merged

fix(chash): ensure retry can try every node#3651
membphis merged 1 commit into
apache:masterfrom
spacewander:chash_retry

Conversation

@spacewander

Copy link
Copy Markdown
Member

Previously the default number of retry is equal to the number of node,
but the same node will be tried again according to its weight.

Also ensure the same picker will be used in the whole request,
especially during the retry.

Signed-off-by: spacewander [email protected]

What this PR does / why we need it:

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

Previously the default number of retry is equal to the number of node,
but the same node will be tried again according to its weight.

Also ensure the same picker will be used in the whole request,
especially during the retry.

Signed-off-by: spacewander <[email protected]>
@spacewander
spacewander marked this pull request as ready for review February 24, 2021 05:00
@membphis
membphis merged commit e58a55f into apache:master Feb 27, 2021
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