Hi Siddhant,

> 1. Does disk balancer check that a container is being replicated to
another
DN or being deleted before selecting it for balancing?

Currently it doesn't check whether the container is being replicated to
another DN. There was one try before,
https://github.com/apache/ozone/pull/8127, but it was abandoned.
It does check the container state, only the CLOSED state container will be
selected to move, and during the move process, it will hold the read lock
of the container, so that container will not be deleted during the move
process.

> 2. When selecting a volume to move the container to, does it check the
committed space on that volume?

Yes, committed space is considered during the volume chosen.

Bests,
Sammi

On Tue, 30 Dec 2025 at 15:33, Siddhant Sangwan <[email protected]>
wrote:

> Hi,
>
> +1 for merging based on the design doc, the testing mentioned in the wiki
> page, and the feature flag.
>
> Some questions -
> 1. Does disk balancer check that a container is being replicated to another
> DN or being deleted before selecting it for balancing?
>
> 2. When selecting a volume to move the container to, does it check the
> committed space on that volume?
>
> Regards,
> Siddhant
>
> On Wed, 10 Dec, 2025, 15:53 Sammi Chen, <[email protected]> wrote:
>
> > Hi Ozone developers,
> >
> > This is for merging the HDDS-5713 Disk Balancer feature branch into
> master.
> >
> > HDDS-5713 adds the support of the disk volume utilization balancer
> function
> > by selecting and moving containers from high utilized data volume to
> lower
> > utilized data volume, to achieve an all disk volumes' utilization even
> > state.
> >
> > Feature Jira Link:
> > https://issues.apache.org/jira/browse/HDDS-5713
> >
> > Checklist for feature branch merge:
> >
> >
> https://cwiki.apache.org/confluence/display/OZONE/Disk+Balancer+For+Datanode+-+HDDS-5713
> > <
> >
> https://cwiki.apache.org/confluence/display/OZONE/Disk+Balancer+For+Datanode+-+HDDS-5713
> > >
> >
> > Please help to take a look and cast the vote if you have time.
> >
> > The vote will be open for at least a week.
> > BTW, previous thread link
> > <https://lists.apache.org/thread/szyx6jxx1f66fzv9bz0t8vq8cdxmt173>.
> >
> > Thanks,
> > Sammi Chen
> >
>

Reply via email to