-
Notifications
You must be signed in to change notification settings - Fork 11.8k
[ISSUE #8979] Add configurable switch for timer message retry logic #8980
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #8980 +/- ##
==========================================
Coverage 47.70% 47.70%
- Complexity 11782 11785 +3
==========================================
Files 1304 1304
Lines 91188 91218 +30
Branches 11713 11718 +5
==========================================
+ Hits 43502 43517 +15
- Misses 42315 42319 +4
- Partials 5371 5382 +11 ☔ View full report in Codecov by Sentry. |
} | ||
return PUT_NO_RETRY; | ||
return PUT_NEED_RETRY; | ||
} | ||
|
||
public MessageExtBrokerInner convertMessage(MessageExt msgExt, boolean needRoll) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be beneficial to include a unit test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’ve added a unit test to cover this function. Please take a look👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Which Issue(s) This PR Fixes
Fixes #8979
Brief Description
TimerEnableRetryUntilSuccess
to control retry behavior.TimerEnableRetryUntilSuccess
is disabled, a message will be retried up to 3 times before being discarded.