Russole opened a new pull request, #9567:
URL: https://github.com/apache/ozone/pull/9567
## What changes were proposed in this pull request?
* Clarified validation for
`hdds.datanode.periodic.disk.check.interval.minutes`:
`0` is treated as invalid and defaults to `60` to avoid accidental
no-delay scheduling.
* Disabled the periodic disk checker when the configured interval is
negative,
and logged a warning to make the behavior explicit.
* Aligned the constant default value for the datanode periodic disk check
interval with the `@Config` annotation default.
* Updated the invalid test input for the periodic disk check interval from
`-1`
to `0` to better represent an explicitly invalid configuration value.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-12136
## How was this patch tested?
I relied on existing unit and integration tests, and verified that the full
CI passed on my fork.
Please let me know if additional tests are needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]