Skip to content

Conversation

@Gargi-jais11
Copy link
Contributor

What changes were proposed in this pull request?

  1. Add a "hdds.datanode.disk.balancer.stop.after.disk.even" new property with default value true.

This hdds.datanode.disk.balancer.stop.after.disk.even means once the disks become even, disk balancer on datanode will stop by itself, also update the on disk diskBalancer.info state.

  1. Add a "--stop-after-disk-even" option to disk balancer start and update sub command.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-12654

How was this patch tested?

Added acceptance test and also checked by manual testing on docker cluster.

@Gargi-jais11 Gargi-jais11 marked this pull request as ready for review April 7, 2025 05:40
@Gargi-jais11 Gargi-jais11 requested a review from ChenSammi April 17, 2025 10:05
Copy link
Contributor

@chungen0126 chungen0126 left a comment

Choose a reason for hiding this comment

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

Thanks @Gargi-jais11 for the patch.

Copy link
Contributor

@chungen0126 chungen0126 left a comment

Choose a reason for hiding this comment

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

+1 LGTM

@Gargi-jais11 Gargi-jais11 requested a review from ChenSammi May 7, 2025 08:45
Copy link
Contributor

@ChenSammi ChenSammi left a comment

Choose a reason for hiding this comment

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

Thanks @Gargi-jais11 , and @chungen0126 for the review.

@ChenSammi ChenSammi merged commit bf4f26c into apache:HDDS-5713 May 9, 2025
42 checks passed
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.

3 participants