[AMORO-3192] Add the "clean-orphan-file.interval-time-minutes" parameter#3193
Conversation
tcodehuber
left a comment
There was a problem hiding this comment.
Thanks for your work, but I think the default check interval should be less than the default min existing time.
Why is this necessary? The "min existing time" ensures that useful files are not mistakenly deleted, so setting it to two to three days is usually sufficient. However, cleaning orphan files is a performance-intensive task, so it's generally appropriate to configure the cleanup to occur once a week or once a month. |
|
@lintingbin Thanks for the contribution. The scheduling interval for the current expiration task is usually set as an AMS configuration like BTW, we are improving the configuration value for time duration with unit support like 3d, we can do it for the new configuration. |
I agree with @lintingbin, there is no connection between the values of these two configurations. |
The modifications have been completed according to the suggestions. |
Why are the changes needed?
Close #3192.
Brief change log
How was this patch tested?
Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before making a pull request
Documentation