Skip to content

[fix] [broker] delete topic failed if disabled system topic - #19735

Merged
poorbarcode merged 2 commits into
apache:masterfrom
poorbarcode:fix/delete_tp_if_disabled_system_tp
Mar 9, 2023
Merged

[fix] [broker] delete topic failed if disabled system topic#19735
poorbarcode merged 2 commits into
apache:masterfrom
poorbarcode:fix/delete_tp_if_disabled_system_tp

Conversation

@poorbarcode

Copy link
Copy Markdown
Contributor

Motivation

After PR #18823, The cmd delete topic will fail if disabled the feature system topic.

Modifications

do not delete the system policy if disabled the feature system topic

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@poorbarcode poorbarcode added type/bug The PR fixed a bug or issue reported a bug release/2.11.1 release/2.10.5 release/2.9.6 labels Mar 7, 2023
@poorbarcode poorbarcode self-assigned this Mar 7, 2023
@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Mar 7, 2023
@Technoboy- Technoboy- closed this Mar 8, 2023
@Technoboy- Technoboy- reopened this Mar 8, 2023
@Technoboy- Technoboy- added this to the 3.0.0 milestone Mar 8, 2023
@poorbarcode

Copy link
Copy Markdown
Contributor Author

/pulsarbot rerun-failure-checks

@liangyepianzhou liangyepianzhou left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work!

@poorbarcode

Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks

@codecov-commenter

codecov-commenter commented Mar 9, 2023

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.02%. Comparing base (4ed8a87) to head (5b969a4).
⚠️ Report is 2763 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #19735       +/-   ##
=============================================
+ Coverage     25.22%   62.02%   +36.79%     
- Complexity      205     3500     +3295     
=============================================
  Files          1670     1848      +178     
  Lines        126397   135871     +9474     
  Branches      13797    14953     +1156     
=============================================
+ Hits          31887    84274    +52387     
+ Misses        89540    43851    -45689     
- Partials       4970     7746     +2776     
Flag Coverage Δ
inttests 24.44% <100.00%> (?)
systests 25.26% <100.00%> (+0.03%) ⬆️
unittests 59.25% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...sar/broker/service/persistent/PersistentTopic.java 64.14% <100.00%> (+21.36%) ⬆️

... and 1314 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@poorbarcode
poorbarcode merged commit 401fb05 into apache:master Mar 9, 2023
@poorbarcode
poorbarcode deleted the fix/delete_tp_if_disabled_system_tp branch March 9, 2023 07:14
Technoboy- pushed a commit that referenced this pull request Mar 13, 2023
Motivation: After PR #18823, The cmd delete topic will fail if disabled the feature system topic.
Modifications: do not delete the system policy if disabled the feature system topic
poorbarcode added a commit that referenced this pull request May 6, 2023
Motivation: After PR #18823, The cmd delete topic will fail if disabled the feature system topic.
Modifications: do not delete the system policy if disabled the feature system topic
(cherry picked from commit 401fb05)
coderzc pushed a commit that referenced this pull request May 31, 2023
Motivation: After PR #18823, The cmd delete topic will fail if disabled the feature system topic.
Modifications: do not delete the system policy if disabled the feature system topic

(cherry picked from commit 401fb05)
@coderzc coderzc added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label May 31, 2023
@michaeljmarshall

Copy link
Copy Markdown
Member

As discussed on the mailing list https://lists.apache.org/thread/w4jzk27qhtosgsz7l9bmhf1t7o9mxjhp, there is no plan to release 2.9.6, so I am going to remove the release/2.9.6 label

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants