-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix][broker]User topic failed to delete after removed cluster because of failed delete data from transaction buffer topic #24648
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
|
/pulsarbot rerun-failure-checks |
...roker/src/main/java/org/apache/pulsar/broker/systopic/NamespaceEventsSystemTopicFactory.java
Outdated
Show resolved
Hide resolved
0fbc09c to
b74b510
Compare
|
The test |
…e transaction buffer can not be accessed
b74b510 to
d3d49f2
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #24648 +/- ##
=============================================
+ Coverage 38.72% 74.14% +35.42%
- Complexity 13076 33375 +20299
=============================================
Files 1836 1893 +57
Lines 143697 147811 +4114
Branches 16616 17098 +482
=============================================
+ Hits 55650 109598 +53948
+ Misses 80600 29450 -51150
- Partials 7447 8763 +1316
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
coderzc
left a comment
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
…e of failed delete data from transaction buffer topic (#24648)
…e of failed delete data from transaction buffer topic (apache#24648) (cherry picked from commit 5f1c540)
…e of failed delete data from transaction buffer topic (apache#24648)
…e of failed delete data from transaction buffer topic (apache#24648) (cherry picked from commit 5f1c540)
…e of failed delete data from transaction buffer topic (apache#24648)
…e of failed delete data from transaction buffer topic (apache#24648)
Motivation
Background
namespace-level replicatedClustersdelete data from transaction buffercan not be executed successfully anymore, and will get an error "Namespace missing local cluster name in clusters list". Because the topic__transaction_buffer_snapshotcan not be accessed anymore since the cluster was removed.topic.checkReplicationand other operations will retry again and again, as a result, the broker will crash of OOMModifications
__transaction_buffer_snapshotif it is not allowed to be accessed(removed current cluster fromallowed cluster)__transaction_buffer_snapshothas been deleted.Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: x