-
Notifications
You must be signed in to change notification settings - Fork 588
HDDS-13108. Migrate failed volume checks to one sliding window #8843
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
HDDS-13108. Migrate failed volume checks to one sliding window #8843
Conversation
… scanner failures
…e-failed-volume-checks-to-one-sliding-window
…g window mechanism
|
Hi @errose28 @Tejaskriya @adoroszlai can you please review this PR? |
Tejaskriya
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 working on this @ptlrs , please find a suggestion below
...ner-service/src/main/java/org/apache/hadoop/ozone/container/common/volume/StorageVolume.java
Outdated
Show resolved
Hide resolved
|
Thanks for the review @Tejaskriya. I have added the configuration. |
Tejaskriya
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.
Looks good to me, @errose28 could you please take a look?
|
This PR has been marked as stale due to 21 days of inactivity. Please comment or remove the stale label to keep it open. Otherwise, it will be automatically closed in 7 days. |
|
Thank you for your contribution. This PR is being closed due to inactivity. If needed, feel free to reopen it. |
Please describe your PR in detail:
This PR uses the new sliding window implementation.
It migrates all existing checks to detect a failed volume to use the new time-based sliding window utility.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-13108
How was this patch tested?
CI:https://github.com/ptlrs/ozone/actions/runs/16436635030