[ 
https://issues.apache.org/jira/browse/HDDS-12431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sammi Chen updated HDDS-12431:
------------------------------
    Description: 
Currently it uses deltaSizes to record the pre-allocated and pre-deleted bytes 
of each volume due to there is selected container to move. 

But deltaSizes is not aware by other activities, such as container creation, 
container moving command by container balancer.  So there is chance that data 
volume will be over allocated due to this. 

This task aims to use HddsVolume#committedBytes to replace deltaSizes, so that 
the space pre-allocated by disk balancer will be fully awared by HddsVolume. 

Also MutableVolumeSet#getIdealUsage should consider committedBytes. 

  was:
Currently it uses deltaSizes to record the pre-allocated and pre-deleted bytes 
of each volume due to there is selected container to move. 

But deltaSizes is not aware by other activities, such as container creation, 
container moving command by container balancer.  So there is chance that data 
volume will be over allocated due to this. 

This task aims to use HddsVolume#committedBytes to replace deltaSizes, so that 
the space pre-allocated by disk balancer will be fully awared by HddsVolume. 


> [DiskBalancer] Use committedBytes to reserve the space pre-allocated for 
> container
> ----------------------------------------------------------------------------------
>
>                 Key: HDDS-12431
>                 URL: https://issues.apache.org/jira/browse/HDDS-12431
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Sammi Chen
>            Priority: Major
>
> Currently it uses deltaSizes to record the pre-allocated and pre-deleted 
> bytes of each volume due to there is selected container to move. 
> But deltaSizes is not aware by other activities, such as container creation, 
> container moving command by container balancer.  So there is chance that data 
> volume will be over allocated due to this. 
> This task aims to use HddsVolume#committedBytes to replace deltaSizes, so 
> that the space pre-allocated by disk balancer will be fully awared by 
> HddsVolume. 
> Also MutableVolumeSet#getIdealUsage should consider committedBytes. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to