[
https://issues.apache.org/jira/browse/HDDS-14693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika updated HDDS-14693:
-------------------------------
Description: OzoneVolume and OzoneBucket implementation contains
information that are only fetch once and reused (e.g. usedBytes, usedNamespace,
modificationTime, etc). We need to clarify in the Javadoc that these values
might not be fresh and will not be changed and therefore cannot be used as the
source of truth regarding quota information. User instead need to
ObjectStore#getVolume and OzoneVolume#getBucket to get the latest info. (was:
OzoneVolume and OzoneBucket implementation contains information that are only
fetch once and reused (e.g. usedBytes, usedNamespace, modificationTime, etc).
We need to clarify in the Javadoc that these values might not be fresh and will
not be changed and therefore cannot be used as the source of truth regarding
quota information. User instead need to ObjectStore#getVolume and
OzoneVolume#getBucket to get the latest info.
)
> Clarify Javadoc on OzoneVolume and OzoneBucket quota freshness
> --------------------------------------------------------------
>
> Key: HDDS-14693
> URL: https://issues.apache.org/jira/browse/HDDS-14693
> Project: Apache Ozone
> Issue Type: Task
> Reporter: Ivan Andika
> Assignee: Ivan Andika
> Priority: Minor
>
> OzoneVolume and OzoneBucket implementation contains information that are only
> fetch once and reused (e.g. usedBytes, usedNamespace, modificationTime, etc).
> We need to clarify in the Javadoc that these values might not be fresh and
> will not be changed and therefore cannot be used as the source of truth
> regarding quota information. User instead need to ObjectStore#getVolume and
> OzoneVolume#getBucket to get the latest info.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]