Skip to content

OAK-9726 Improve index purge old version commands logs#520

Merged
thomasmueller merged 3 commits intoapache:trunkfrom
FrancoisZhang:GRANITE-38542
Mar 17, 2022
Merged

OAK-9726 Improve index purge old version commands logs#520
thomasmueller merged 3 commits intoapache:trunkfrom
FrancoisZhang:GRANITE-38542

Conversation

@FrancoisZhang
Copy link
Copy Markdown
Contributor

@FrancoisZhang FrancoisZhang commented Mar 16, 2022

No description provided.

…lemented in oak-run: adjust APIs and adding logs
@reschke
Copy link
Copy Markdown
Contributor

reschke commented Mar 16, 2022

Please refer to OAK Jira tickets in commit messages and PRs.

…lemented in oak-run: adjust log messages etc. per code review
@FrancoisZhang FrancoisZhang changed the title GRANITE-38542 Adding cronjob for call cleanup index command which imp… OAK-9726 Improve index purge old version commands logs Mar 16, 2022
@FrancoisZhang
Copy link
Copy Markdown
Contributor Author

@reschke sorry for that, just created an OAK ticket and fix the message in PR

@thomasmueller I have refined the commit over your code review, thanks!


private long threshold;
private List<String> indexPaths;
private long DEFAULT_PURGE_THRESHOLD = TimeUnit.DAYS.toMillis(5); // 5 days in millis
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be final

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fabriziofortino true, i's a legacy I didn't notice that. I will refine it together in next PR. seems need more logging here

@thomasmueller thomasmueller merged commit 639fd75 into apache:trunk Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants