-
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
[fix][broker][admin] Fix cannot update properties on NonDurable subscription. #22411
[fix][broker][admin] Fix cannot update properties on NonDurable subscription. #22411
Conversation
@lhotari @codelipenghui @mattisonchao @eolivelli @Technoboy- Could you please take a look? |
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorImpl.java
Outdated
Show resolved
Hide resolved
# Conflicts: # pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/PersistentTopicsTest.java
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #22411 +/- ##
============================================
+ Coverage 73.57% 73.81% +0.23%
+ Complexity 32624 32402 -222
============================================
Files 1877 1885 +8
Lines 139502 139818 +316
Branches 15299 15319 +20
============================================
+ Hits 102638 103203 +565
+ Misses 28908 28636 -272
- Partials 7956 7979 +23
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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
…ription. (apache#22411) (cherry picked from commit 902728e) # Conflicts: # pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/PersistentTopicsTest.java (cherry picked from commit 7cd0924)
…ription. (apache#22411) (cherry picked from commit 902728e) # Conflicts: # pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/PersistentTopicsTest.java (cherry picked from commit 7cd0924)
Fixes #22402
Motivation
Fix cannot update properties on NonDurable subscription.
Reproduce step:
Modifications
Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: