-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix][broker] Fix issue that topic policies was deleted after a sub topic deleted, even if the partitioned topic still exists #24350
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 issue that topic policies was deleted after a sub topic deleted, even if the partitioned topic still exists #24350
Conversation
…opic deleted, but partitioned topic still exist
BewareMyPower
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.
Could it be fixed by enabling brokerDeleteInactivePartitionedTopicMetadataEnabled ? I opened a similar issue before: #10975
They are different issues, see the details in this PR's motivation |
|
Oh I see, it's the topic policies are deleted |
lhotari
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
|
/pulsarbot rerun-failure-checks |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #24350 +/- ##
============================================
+ Coverage 73.57% 74.27% +0.69%
- Complexity 32624 32650 +26
============================================
Files 1877 1866 -11
Lines 139502 145149 +5647
Branches 15299 16597 +1298
============================================
+ Hits 102638 107808 +5170
+ Misses 28908 28812 -96
- Partials 7956 8529 +573
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
@poorbarcode Please handle cherry-picking to This is a quick check mvn -Pcore-modules,-main -T 1C clean install -DskipTests -Dspotbugs.skip=true -DnarPluginPhase=noneI've recently pushed a75d16f to fix some previous checkstyle errors from previous cherry-picks. |
…opic deleted, even if the partitioned topic still exists (apache#24350) (cherry picked from commit 8db6a3b) (cherry picked from commit 821c2fd)
…opic deleted, even if the partitioned topic still exists (apache#24350) (cherry picked from commit 8db6a3b) (cherry picked from commit 821c2fd)
…opic deleted, even if the partitioned topic still exists (apache#24350) (cherry picked from commit 8db6a3b) (cherry picked from commit 0650d92)
…opic deleted, even if the partitioned topic still exists (apache#24350) (cherry picked from commit 8db6a3b) (cherry picked from commit 0650d92)
…opic deleted, even if the partitioned topic still exists (apache#24350) (cherry picked from commit 8db6a3b) (cherry picked from commit 0650d92) (cherry picked from commit d012231)
…opic deleted, even if the partitioned topic still exists (apache#24350) (cherry picked from commit 8db6a3b) (cherry picked from commit 0650d92) (cherry picked from commit d012231)
…opic deleted, even if the partitioned topic still exists (apache#24350) (cherry picked from commit 8db6a3b)
…opic deleted, even if the partitioned topic still exists (apache#24350)
…opic deleted, even if the partitioned topic still exists (apache#24350)
Motivation
The reproduction steps of the issue
2partitionsbrokerDeleteInactiveTopicsModeModifications
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: x