-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Issue 6283][tiered-storage] Offload policies per namespace #6422
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
[Issue 6283][tiered-storage] Offload policies per namespace #6422
Conversation
acb38ef to
4adb758
Compare
|
@gaoran10 @codelipenghui can you review this pull request? |
codelipenghui
left a comment
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.
If offload_threshold and offload_deletion_lag_ms are specified before, It's better to merge offload_threshold and offload_deletion_lag_ms of Policies into OffloadPolicies when users first use set-offload-policies. Otherwise, will cause inconsistency with the previous configuration. And please add a test to cover it.
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java
Outdated
Show resolved
Hide resolved
33f1c2f to
c537080
Compare
099c42d to
198338e
Compare
198338e to
39e929e
Compare
|
@gaoran10 Please help review this PR, thanks. |
|
Looks good to me! Good work. |
|
conflict with #6717, marked with 2.5.2, and merge into branch-2.5 |
…pache#6422)" This reverts commit c3fa923.
|
Docs have been added: |
) Fixes apache#6283 ### Modifications Define and use custom deletionLag and threshold for offloadpolicies per ns. All is stuff is required for apache#6354.
Fixes #6283
Modifications
Define and use custom deletionLag and threshold for offloadpolicies per ns.
All is stuff is required for #6354.
Verifying this change
This change is already covered by existing tests, such as .
Does this pull request potentially affect one of the following parts:
Documentation