-
Notifications
You must be signed in to change notification settings - Fork 13.8k
[FLINK-15620] Remove deprecated enable default background cleanup #12304
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
Conversation
|
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Automated ChecksLast check on commit 3e369cb (Fri Oct 16 10:55:25 UTC 2020) Warnings:
Mention the bot in a comment to re-run the automated checks. Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. DetailsThe Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commandsThe @flinkbot bot supports the following commands:
|
klion26
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.
@Jiayi-Liao thanks for your contribution, left some minor comments
| .withDescription("This determines if compaction filter to cleanup state with TTL is enabled for backend. " + | ||
| "Note: User can still decide in state TTL configuration in state descriptor " + | ||
| "whether the filter is active for particular state or not."); | ||
|
|
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.
maybe we should revert such change.
| * It means that the TTL filter should be tested for List state taking into account this caveat. | ||
| * | ||
| * @deprecated Use more general configuration method {@link #cleanupInBackground()} instead | ||
| * @deprecated |
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.
As we introduced cleanupInBackground to deprecate the function cleanupInRocksdbCompactFilter, now, we removed cleanupInBackground, do we need to remove the function cleanupInRocksdbCompactFilter also?
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.
This should be addressed in #12307.
azagrebin
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.
Thanks for the PR @Jiayi-Liao , LGTM
I will address the minor comments while merging it.
| * It means that the TTL filter should be tested for List state taking into account this caveat. | ||
| * | ||
| * @deprecated Use more general configuration method {@link #cleanupInBackground()} instead | ||
| * @deprecated |
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.
| * @deprecated | |
| * @deprecated Use more general configuration method {@link #cleanupInRocksdbCompactFilter(long)} instead |
89a2001 to
52eef3b
Compare
52eef3b to
3e369cb
Compare
… cleanup This closes #12304.
… cleanup This closes apache#12304.
What is the purpose of the change
Follow-up for FLINK-15620. Remove deprecated
cleanupInBackgroundinStateTtlConfig.Brief change log
Remove deprecated
cleanupInBackgroundinStateTtlConfig.Verifying this change
This should be covered by existing unit testing.
Does this pull request potentially affect one of the following parts:
@Public(Evolving): yes but already deprecated since release 1.10Documentation