Skip to content

Conversation

@KannarFr
Copy link
Contributor

@KannarFr KannarFr commented Feb 26, 2020

Fixes #6283

Modifications

Define and use custom deletionLag and threshold for offloadpolicies per ns.
All is stuff is required for #6354.

Verifying this change

  • Make sure that the change passes the CI checks.

This change is already covered by existing tests, such as .

Does this pull request potentially affect one of the following parts:

  • The public API: yes, new fields to add to offloadpolicies
  • The admin cli options: yes, new fields to add to offloadpolicies

Documentation

  • Does this pull request introduce a new feature? yes
  • If yes, how is the feature documented? not documented

@KannarFr KannarFr force-pushed the offload-policies-per-namespace branch from acb38ef to 4adb758 Compare February 26, 2020 11:22
@sijie sijie added area/tieredstorage type/feature The PR added a new feature or issue requested a new feature labels Feb 29, 2020
@sijie sijie added this to the 2.6.0 milestone Feb 29, 2020
@sijie
Copy link
Member

sijie commented Mar 6, 2020

@gaoran10 @codelipenghui can you review this pull request?

Copy link
Contributor

@codelipenghui codelipenghui left a 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.

@KannarFr KannarFr force-pushed the offload-policies-per-namespace branch from 33f1c2f to c537080 Compare March 12, 2020 12:36
@KannarFr KannarFr force-pushed the offload-policies-per-namespace branch 2 times, most recently from 099c42d to 198338e Compare March 17, 2020 12:15
@KannarFr KannarFr force-pushed the offload-policies-per-namespace branch from 198338e to 39e929e Compare March 17, 2020 12:31
@codelipenghui
Copy link
Contributor

@gaoran10 Please help review this PR, thanks.

@gaoran10
Copy link
Contributor

Looks good to me! Good work.

@sijie sijie added the doc-required Your PR changes impact docs and you will update later. label Mar 28, 2020
@sijie sijie merged commit 347d385 into apache:master Mar 28, 2020
@jiazhai
Copy link
Member

jiazhai commented May 8, 2020

conflict with #6717, marked with 2.5.2, and merge into branch-2.5

jiazhai pushed a commit that referenced this pull request May 8, 2020
Fixes #6283

### Modifications

Define and use custom deletionLag and threshold for offloadpolicies per ns.
All is stuff is required for #6354.

(cherry picked from commit 347d385)
cdbartholomew added a commit to kafkaesque-io/pulsar that referenced this pull request May 25, 2020
@Anonymitaet Anonymitaet removed the doc-required Your PR changes impact docs and you will update later. label Jun 10, 2020
@Anonymitaet
Copy link
Member

huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
)

Fixes apache#6283 

### Modifications

Define and use custom deletionLag and threshold for offloadpolicies per ns.
All is stuff is required for apache#6354.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/tieredstorage release/2.5.2 type/feature The PR added a new feature or issue requested a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[offloaders] Define treshold and deletionMaxLag per ns or use the default one.

6 participants