-
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] make managedLedgerOffloadedReadPriority compatible with broker property #17803
[improve][broker] make managedLedgerOffloadedReadPriority compatible with broker property #17803
Conversation
…hreshold-support-negative Set namespace offload policy threshold support negative
pulsar-common/src/main/java/org/apache/pulsar/common/policies/data/OffloadPoliciesImpl.java
Show resolved
Hide resolved
i have add Matching PR in forked repository ethqunzhong#2 |
CI ALL passed: ethqunzhong#2 |
/pulsarbot rerun-failure-checks |
maybe you can rebase onto latest master |
fc8be9e
to
9d3a053
Compare
/pulsarbot rerun-failure-checks |
1 similar comment
/pulsarbot rerun-failure-checks |
9d3a053
to
e5b3e24
Compare
/pulsarbot rerun-failure-checks |
3 similar comments
/pulsarbot rerun-failure-checks |
/pulsarbot rerun-failure-checks |
/pulsarbot rerun-failure-checks |
e5b3e24
to
a6a69fd
Compare
/pulsarbot rerun-failure-checks |
1 similar comment
/pulsarbot rerun-failure-checks |
a6a69fd
to
14861ed
Compare
/pulsarbot rerun-failure-checks |
Motivation
As #16436 supported setManagedLedgerOffloadedReadPriority by broker.conf.
I add an unit-test to verify offloadpolicy-brokerconf-compatibled that test failed, show as follow:
offloadedDataReadPriority excepted value is
bookkeper-first
from broker's property but get default valuetiered-storage-first
.Modifications
Fix
OffloadPoliciesImpl#getCompatibleValue
logic: add broker's propertymanagedLedgerDataReadPriority
compatible.Does this pull request potentially affect one of the following parts:
If
yes
was chosen, please highlight the changesDocumentation
Check the box below or label this PR directly.
Need to update docs?
doc-required
(Your PR needs to update docs and you will update later)
doc-not-needed
(Please explain why)
doc
(Your PR contains doc changes)
doc-complete
(Docs have been already added)
Matching PR in forked repository
PR in forked repository: ethqunzhong#2