[
https://issues.apache.org/jira/browse/HDDS-13666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gargi Jaiswal updated HDDS-13666:
---------------------------------
Description:
Sorting based on density is ok to choose source and possible destination, but
the logic of choosing destination here can not be direct reverse loop, and need
care for above.
And if no destination is possible to choose, should mark disk as balanced.
This is reverse looping is especially seen in case of very low threshold such
that the volume utilisation of source and destination disk is close by.
was:
# Simplify DiskBalancerVolumeChoosingPolicy "{*}when filtering volume, that
point of time itself can be filtered out volume of low disk (including
committed space) + threshold required to move. So that the logic of sorting is
not required, only movement from max -> min is enough. Since this is done over
lock, so this will not face problem of parallel allocation. This will simplify
the algorithm.{*}"
# In *DefaultContainerChoosingPolicy* instead of *ThreadLocal* use instance or
service level arguments / context.
> [DiskBalancer] Destination volume should be correctly to avoid to and fro
> movement
> -----------------------------------------------------------------------------------
>
> Key: HDDS-13666
> URL: https://issues.apache.org/jira/browse/HDDS-13666
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Gargi Jaiswal
> Assignee: Gargi Jaiswal
> Priority: Major
>
> Sorting based on density is ok to choose source and possible destination, but
> the logic of choosing destination here can not be direct reverse loop, and
> need care for above.
> And if no destination is possible to choose, should mark disk as balanced.
> This is reverse looping is especially seen in case of very low threshold such
> that the volume utilisation of source and destination disk is close by.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]