Skip to content

HDDS-15629. [DiskBalancer] Fix missing parenthesis in report utilization note.#10563

Merged
adoroszlai merged 1 commit into
apache:masterfrom
slfan1989:HDDS-15629
Jun 21, 2026
Merged

HDDS-15629. [DiskBalancer] Fix missing parenthesis in report utilization note.#10563
adoroszlai merged 1 commit into
apache:masterfrom
slfan1989:HDDS-15629

Conversation

@slfan1989

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

The DiskBalancer report command prints a Note section that explains each reported field. The Utilization note currently has a formatting issue: the formula is missing the opening parenthesis before effectiveUsedSpace.

  • Current text:
  Utilization: how much a particular volume is utilized effectiveUsedSpace / ozoneCapacity) in %.
  • Expected text:
  Utilization: how much a particular volume is utilized (effectiveUsedSpace / ozoneCapacity) in %.

This is a minor documentation/output text fix. It does not change DiskBalancer behavior or report calculation logic.

What is the link to the Apache JIRA

JIRA: HDDS-15629. [DiskBalancer] Fix missing parenthesis in report utilization note.

How was this patch tested?

None Junit Test.

@adoroszlai adoroszlai merged commit c6c4f33 into apache:master Jun 21, 2026
47 checks passed
@adoroszlai

Copy link
Copy Markdown
Contributor

Thanks @slfan1989 for the patch.

@slfan1989

Copy link
Copy Markdown
Contributor Author

Thanks @slfan1989 for the patch.

@adoroszlai Thank you very much for helping review the code!

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.

2 participants