Skip to content

Conversation

@Russole
Copy link
Contributor

@Russole Russole commented Dec 27, 2025

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.

@ivandika3 ivandika3 requested a review from smengcl December 27, 2025 08:08
@Russole Russole changed the title Hdds 12136. Allow StorageVolumeChecker to be disabled HDDS-12136. Allow StorageVolumeChecker to be disabled Dec 28, 2025
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.

1 participant