-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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][client] TransactionCoordinatorClient support retry #23081
Conversation
Great work @chenhongSZ! Would it be possible to add a test case? |
This pr contains correlation test cases in |
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
/pulsarbot run-failure-checks |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #23081 +/- ##
============================================
- Coverage 73.57% 73.41% -0.16%
- Complexity 32624 33206 +582
============================================
Files 1877 1917 +40
Lines 139502 144077 +4575
Branches 15299 15744 +445
============================================
+ Hits 102638 105774 +3136
- Misses 28908 30179 +1271
- Partials 7956 8124 +168
Flags with carried forward coverage won't be shown. Click here to find out more.
|
(cherry picked from commit 6bbaec1)
(cherry picked from commit e42b35c)
(cherry picked from commit e42b35c)
(cherry picked from commit 6bbaec1)
Motivation
we have two brokerUrls(one is dead) in PulsarClient serviceUrl, it is working well without enabling transactions.
If enabling transactions
the following error occurs and the
PulsarClient
init fails, It will not retry the other brokerUrlThe root cause is that the
TransactionCoordinatorClient
doesn't support retry.Modifications
support retry in
TransactionCoordinatorClient
.Documentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: