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

Attila Doroszlai resolved HDDS-14179.
-------------------------------------
    Fix Version/s: 2.2.0
       Resolution: Implemented

> StorageVolume.getCurrentUsage() should return a fixed usage
> -----------------------------------------------------------
>
>                 Key: HDDS-14179
>                 URL: https://issues.apache.org/jira/browse/HDDS-14179
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone Datanode
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.2.0
>
>
> StorageVolume.getCurrentUsage() currently returns SpaceUsageSource, which 
> looks like a mutable source.  However, the underlying implementations always 
> return SpaceUsageSource.Fixed.  If the usages are mutable, we cannot sort 
> them or use them to do computation reliably.  We need this for HDDS-14175.



--
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