-
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] Restored method as deprecated in AbstractMetadataStore #21950
Conversation
We should also add annotations
|
pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/AbstractMetadataStore.java
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 add a comment.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #21950 +/- ##
=============================================
+ Coverage 36.46% 73.61% +37.15%
- Complexity 12390 32439 +20049
=============================================
Files 1725 1861 +136
Lines 131701 138676 +6975
Branches 14401 15182 +781
=============================================
+ Hits 48027 102093 +54066
+ Misses 77254 28700 -48554
- Partials 6420 7883 +1463
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Co-authored-by: Jiwe Guo <technoboy@apache.org>
Since #21068 does't cherry-pick to branch-3.1, so we remove the label |
Co-authored-by: Jiwe Guo <technoboy@apache.org> (cherry picked from commit 4198ed2)
Motivation
A change in #21068 has renamed a protected methods in
AbstractMetadataStore
. This was done in 3.1 and 3.2 as well as master branch.The problem with this change is that external metadata provider plugins cannot easily target 3.0/3.1 release because of the method name change. We shouldn't be renaming methods part of the plugin APIs. Instead we can mark them as deprecated and maintain compatibility.
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: