-
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 MessageDeduplication replay timeout cause topic loading stuck #23004
[fix][broker] Fix MessageDeduplication replay timeout cause topic loading stuck #23004
Conversation
...r-broker/src/test/java/org/apache/pulsar/broker/service/persistent/TopicDuplicationTest.java
Show resolved
Hide resolved
35df8ea
to
3268d0d
Compare
...r-broker/src/test/java/org/apache/pulsar/broker/service/persistent/TopicDuplicationTest.java
Outdated
Show resolved
Hide resolved
3268d0d
to
8cb4559
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #23004 +/- ##
============================================
- Coverage 73.57% 73.44% -0.13%
- Complexity 32624 33298 +674
============================================
Files 1877 1910 +33
Lines 139502 143106 +3604
Branches 15299 15590 +291
============================================
+ Hits 102638 105108 +2470
- Misses 28908 29980 +1072
- Partials 7956 8018 +62
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…ding stuck (apache#23004) Co-authored-by: fanjianye <fanjianye@bigo.sg> (cherry picked from commit 41ef3f6) (cherry picked from commit 0252671)
…ding stuck (apache#23004) Co-authored-by: fanjianye <fanjianye@bigo.sg> (cherry picked from commit 41ef3f6) (cherry picked from commit 0252671)
@TakaHiR07 would you mind backporting this change to branch-3.2? The PR can be applied to branch-3.2, but the test TopicDuplicationTest.testFinishTakeSnapshotWhenTopicLoading fails consistently. |
@lhotari The reason is pr-22860 not in branch-3.2. Do I change the test "testFinishTakeSnapshotWhenTopicLoading" in branch-3.2, or wait until cherry-pick pr-22860? |
Thanks for checking that @TakaHiR07 . I'll cherry-pick PR 22860 to branch-3.2 and check if things pass after that. |
@TakaHiR07 Cherry-picking PR 22860 fixed the issue. Thanks for the guidance. |
…ding stuck (apache#23004) Co-authored-by: fanjianye <fanjianye@bigo.sg> (cherry picked from commit 41ef3f6) Signed-off-by: Zixuan Liu <nodeces@gmail.com>
Fixes #23003
Motivation
As shown in the issue. fix the risk of topic loading stuck.
Modifications
Verifying this change
Documentation
doc
doc-required
doc-not-needed
doc-complete