-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[improve][broker] System topic writer/reader connection not counted. #18369
[improve][broker] System topic writer/reader connection not counted. #18369
Conversation
Codecov Report
@@ Coverage Diff @@
## master #18369 +/- ##
============================================
+ Coverage 45.61% 47.33% +1.71%
+ Complexity 10728 10479 -249
============================================
Files 752 698 -54
Lines 72521 68070 -4451
Branches 7791 7279 -512
============================================
- Hits 33083 32221 -862
+ Misses 35769 32263 -3506
+ Partials 3669 3586 -83
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@Technoboy- Thank you for the PR. |
yes, it existed in branch-2.7. |
pulsar-broker/src/test/java/org/apache/pulsar/broker/systopic/PartitionedSystemTopicTest.java
Outdated
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/AbstractTopic.java
Outdated
Show resolved
Hide resolved
Thanks. It's weird that no one ever faced this issue before.. even we have been running for over an year without facing this issue.. |
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.
Do we need to change method isConsumersExceededOnTopic
? We have max subscriptions and max consumers limitation for a topic.
pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ReplicatorTest.java
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/AbstractTopic.java
Outdated
Show resolved
Hide resolved
pulsar-broker/src/test/java/org/apache/pulsar/broker/systopic/PartitionedSystemTopicTest.java
Outdated
Show resolved
Hide resolved
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.
Please apply @codelipenghui's comments.
yes, already fixed. please help review, thanks. |
Please cherry-pick this and #18603 to 2.9 branch as well. |
…pache#18603) This PR is a supplement to apache#18369. - `AbstractTopic.isSameAddressProducersExceeded()` - `AbstractBaseDispatcher.isConsumersExceededOnSubscription()`
…pache#18603) This PR is a supplement to apache#18369. - `AbstractTopic.isSameAddressProducersExceeded()` - `AbstractBaseDispatcher.isConsumersExceededOnSubscription()`
…pache#18369) (cherry picked from commit 51cac6b)
…pache#18603) This PR is a supplement to apache#18369. - `AbstractTopic.isSameAddressProducersExceeded()` - `AbstractBaseDispatcher.isConsumersExceededOnSubscription()` (cherry picked from commit b33bff9)
…pache#18603) This PR is a supplement to apache#18369. - `AbstractTopic.isSameAddressProducersExceeded()` - `AbstractBaseDispatcher.isConsumersExceededOnSubscription()`
…pache#18369) (cherry picked from commit 51cac6b)
…pache#18603) This PR is a supplement to apache#18369. - `AbstractTopic.isSameAddressProducersExceeded()` - `AbstractBaseDispatcher.isConsumersExceededOnSubscription()` (cherry picked from commit b33bff9)
Master Issue: #18364
Motivation
It's better not to count the system topic writer/reader connection.
Documentation
doc
doc-required
doc-not-needed
doc-complete