Skip to content

[Improvement-17670][Worker] Add disk usage monitoring for data.basedir.path directory#18065

Open
dill21yu wants to merge 3 commits intoapache:devfrom
dill21yu:disk-usage-monitor
Open

[Improvement-17670][Worker] Add disk usage monitoring for data.basedir.path directory#18065
dill21yu wants to merge 3 commits intoapache:devfrom
dill21yu:disk-usage-monitor

Conversation

@dill21yu
Copy link
Copy Markdown
Contributor

… directory

Was this PR generated or assisted by AI?

YES, use cursor to help do this

Purpose of the pull request

to close #17670

image

a list-based configuration allowing users to define specific thresholds for different disk paths.
Example Usage:
max-disk-usage-percentage-thresholds-rules:

  • disk-path: /data1
    usage-percentage-thresholds: 0.9
  • disk-path: /data2
    usage-percentage-thresholds: 0.8

The original property max-disk-usage-percentage-thresholds is marked as @deprecated
The system falls back to the old config if the new rules list is empty, ensuring no breaking changes.
Note: Recreating this PR to resolve the merge conflicts and history issues caused by the previous attempt on the dev branch.

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(or)

Pull Request Notice

Pull Request Notice

If your pull request contains incompatible change, you should also add it to docs/docs/en/guide/upgrade/incompatible.md

Copy link
Copy Markdown
Member

@SbloodyS SbloodyS left a comment

Choose a reason for hiding this comment

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

Please do not create multiple PRs repeatedly next time. This will lead to an increase in reviewer's work.

@SbloodyS SbloodyS added this to the 3.4.2 milestone Mar 31, 2026
@SbloodyS SbloodyS added the improvement make more easy to user or prompt friendly label Mar 31, 2026
@SbloodyS SbloodyS changed the title [Improvement][Worker] Add disk usage monitoring for data.basedir.path… [Improvement-17670][Worker] Add disk usage monitoring for data.basedir.path directory Mar 31, 2026
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 60%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend document e2e e2e test improvement make more easy to user or prompt friendly kubernetes test UI ui and front end related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement][Worker-monitoring] Add disk usage monitoring for data.basedir.path directory

2 participants