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

fix(retry): fix the retry policy do not take affect #33

Merged
merged 7 commits into from
Sep 6, 2024

Conversation

whalecold
Copy link
Member

@whalecold whalecold commented Aug 26, 2024

What type of PR is this?

What this PR does / why we need it (en: English/zh: Chinese):

The logic of retry is before the router, the value of key RouterClusterKey can't be found, add a new router object to the retry policy manager, use the router to acquire the RouterClusterKey.
en:
zh:

Which issue(s) this PR fixes:

@ppzqh
Copy link
Contributor

ppzqh commented Aug 27, 2024

We can extent the retryer to use router logic and do the retry based on retry policy from RDS.

go.mod Outdated Show resolved Hide resolved
@whalecold whalecold changed the title fix(retry): add the wildcard retry policy fix(retry): fix the retry policy do not take affect Aug 27, 2024
go.mod Outdated Show resolved Hide resolved
@whalecold
Copy link
Member Author

We can extent the retryer to use router logic and do the retry based on retry policy from RDS.

Fixed, I will test in actual environment later

@ppzqh
Copy link
Contributor

ppzqh commented Aug 27, 2024

We can extent the retryer to use router logic and do the retry based on retry policy from RDS.

Fixed, I will test in actual environment later

ok👍

xdssuite/retry.go Outdated Show resolved Hide resolved
xdssuite/limiter.go Outdated Show resolved Hide resolved
@whalecold whalecold force-pushed the fix/retry branch 3 times, most recently from a9388ea to cee5056 Compare September 2, 2024 07:03
xdssuite/option.go Outdated Show resolved Hide resolved
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ppzqh, whalecold

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@whalecold whalecold merged commit cff307b into kitex-contrib:main Sep 6, 2024
9 of 10 checks passed
@whalecold whalecold deleted the fix/retry branch September 6, 2024 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants