[fix][broker] Fix heartbeat namespace create event topic and cannot delete heartbeat topic#21360
Merged
Conversation
Technoboy-
approved these changes
Oct 16, 2023
liudezhi2098
approved these changes
Oct 17, 2023
| public CompletableFuture<Void> updateTopicPoliciesAsync(TopicName topicName, TopicPolicies policies) { | ||
| if (NamespaceService.isHeartbeatNamespace(topicName.getNamespaceObject())) { | ||
| return CompletableFuture.failedFuture(new BrokerServiceException.NotAllowedException( | ||
| "Not allowed to send update event to health check topic")); |
Contributor
There was a problem hiding this comment.
Suggested change
| "Not allowed to send update event to health check topic")); | |
| "Not allowed to update topic policy for the heartbeat topic")); |
…_and_cannot_delete_heartbeat_topic
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #21360 +/- ##
============================================
- Coverage 73.27% 73.26% -0.02%
+ Complexity 32581 32576 -5
============================================
Files 1888 1888
Lines 140282 140283 +1
Branches 15415 15417 +2
============================================
- Hits 102790 102772 -18
- Misses 29415 29433 +18
- Partials 8077 8078 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Technoboy-
added a commit
that referenced
this pull request
Oct 19, 2023
…elete heartbeat topic (#21360) Co-authored-by: fanjianye <fanjianye@bigo.sg> Co-authored-by: Jiwei Guo <technoboy@apache.org>
shibd
pushed a commit
to shibd/pulsar
that referenced
this pull request
Oct 22, 2023
…elete heartbeat topic (apache#21360) Co-authored-by: fanjianye <fanjianye@bigo.sg> Co-authored-by: Jiwei Guo <technoboy@apache.org> (cherry picked from commit 700a29d)
shibd
pushed a commit
to shibd/pulsar
that referenced
this pull request
Oct 23, 2023
…elete heartbeat topic (apache#21360) Co-authored-by: fanjianye <fanjianye@bigo.sg> Co-authored-by: Jiwei Guo <technoboy@apache.org> (cherry picked from commit 700a29d)
shibd
pushed a commit
to shibd/pulsar
that referenced
this pull request
Oct 23, 2023
…elete heartbeat topic (apache#21360) Co-authored-by: fanjianye <fanjianye@bigo.sg> Co-authored-by: Jiwei Guo <technoboy@apache.org> (cherry picked from commit 700a29d)
shibd
pushed a commit
to shibd/pulsar
that referenced
this pull request
Oct 24, 2023
…elete heartbeat topic (apache#21360) Co-authored-by: fanjianye <fanjianye@bigo.sg> Co-authored-by: Jiwei Guo <technoboy@apache.org> (cherry picked from commit 700a29d)
14 tasks
nikhil-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Dec 20, 2023
…elete heartbeat topic (apache#21360) Co-authored-by: fanjianye <fanjianye@bigo.sg> Co-authored-by: Jiwei Guo <technoboy@apache.org>
srinath-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Dec 20, 2023
…elete heartbeat topic (apache#21360) Co-authored-by: fanjianye <fanjianye@bigo.sg> Co-authored-by: Jiwei Guo <technoboy@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Modifications
Verifying this change
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: TakaHiR07#17