-
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] [broker] Fix brokers still retry start replication after closed the topic #23237
[fix] [broker] Fix brokers still retry start replication after closed the topic #23237
Conversation
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java
Show resolved
Hide resolved
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's some duplication of code in isClose
, but that's not critical.
@poorbarcode please fix checkstyle |
Thanks @lhotari for mentioning this to me ❤️ |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #23237 +/- ##
============================================
+ Coverage 73.57% 74.59% +1.01%
- Complexity 32624 34281 +1657
============================================
Files 1877 1924 +47
Lines 139502 144934 +5432
Branches 15299 15855 +556
============================================
+ Hits 102638 108108 +5470
+ Misses 28908 28563 -345
- Partials 7956 8263 +307
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…the topic (apache#23237) (cherry picked from commit aee2ee5) (cherry picked from commit 311b6af)
…the topic (apache#23237) (cherry picked from commit aee2ee5) (cherry picked from commit 311b6af)
Motivation
Reproduce steps:
60s
) task to retryModifications
Do not retry to start a replicator after the topic is closed
Documentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: x