Skip to content
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] System topic should not be migrated during blue-green cluster migration #23767

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

hrzzzz
Copy link
Contributor

@hrzzzz hrzzzz commented Dec 20, 2024

Fixes #23572

Motivation

If the topic is a system topic, then we should not migrate it during the blue-green cluster migration

Modifications

If the topic is a system topic, then we should not migrate it during the blue-green cluster migration

Verifying this change

  • Make sure that the change passes the CI checks.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

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

Matching PR in forked repository

PR in forked repository: hrzzzz#14

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Dec 20, 2024
@lhotari lhotari added this to the 4.1.0 milestone Dec 21, 2024
@hrzzzz
Copy link
Contributor Author

hrzzzz commented Dec 21, 2024

/pulsarbot rerun-failure-checks

@codecov-commenter
Copy link

codecov-commenter commented Dec 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.26%. Comparing base (bbc6224) to head (32ba3a9).
Report is 812 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #23767      +/-   ##
============================================
+ Coverage     73.57%   74.26%   +0.69%     
+ Complexity    32624    31740     -884     
============================================
  Files          1877     1838      -39     
  Lines        139502   143066    +3564     
  Branches      15299    16237     +938     
============================================
+ Hits         102638   106250    +3612     
+ Misses        28908    28441     -467     
- Partials       7956     8375     +419     
Flag Coverage Δ
inttests 26.71% <100.00%> (+2.13%) ⬆️
systests 23.71% <33.33%> (-0.61%) ⬇️
unittests 73.62% <100.00%> (+0.77%) ⬆️

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

Files with missing lines Coverage Δ
...rg/apache/pulsar/broker/service/BrokerService.java 84.71% <100.00%> (+3.93%) ⬆️
...sar/broker/service/persistent/PersistentTopic.java 79.74% <ø> (+1.28%) ⬆️

... and 1001 files with indirect coverage changes

@lhotari lhotari merged commit 1967a93 into apache:master Dec 21, 2024
55 checks passed
lhotari pushed a commit that referenced this pull request Dec 21, 2024
…luster migration (#23767)

Co-authored-by: ruihongzhou <[email protected]>
(cherry picked from commit 1967a93)
lhotari pushed a commit that referenced this pull request Dec 21, 2024
…luster migration (#23767)

Co-authored-by: ruihongzhou <[email protected]>
(cherry picked from commit 1967a93)
@hrzzzz hrzzzz deleted the fix-migrate-system-topic branch December 23, 2024 06:38
@frankjkelly
Copy link
Contributor

Thanks @hrzzzz and @lhotari

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants