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

Wei-Chiu Chuang updated HDDS-13730:
-----------------------------------
    Release Note: 
bucket quota handling with snapshots is more accurate and transparent.
When you use snapshots in Apache Ozone, deleting data (keys or directories) 
doesn't always mean the space or namespace count is immediately reclaimed.
This is because snapshots can retain data even after it has been "deleted" from 
the active bucket.
Ozone now tracks and calculates bucket quotas more clearly to give you an 
accurate view of your usage.

Your bucket's total reported quota usage is now a sum of both actively used 
resources and those pending deletion:

*   **Total Reported Used Space:** `usedBytes` (total data) / 
`snapshotUsedBytes` (data pending deletion due to snapshots)
*   **Total Reported Used Namespace:** `usedNamespace` (total items) / 
`snapshotUsedNamespace` (items pending deletion due to snapshots)

The usedBytes is only decremented upon snapshot purge.

  was:
bucket quota handling with snapshots is more accurate and transparent.
When you use snapshots in Apache Ozone, deleting data (keys or directories) 
doesn't always mean the space or namespace count is immediately reclaimed.
This is because snapshots can retain data even after it has been "deleted" from 
the active bucket.
Ozone now tracks and calculates bucket quotas more clearly to give you an 
accurate view of your usage.

Your bucket's total reported quota usage is now a sum of both actively used 
resources and those pending deletion:

*   **Total Reported Used Space:** `usedBytes` (active data) + 
`snapshotUsedBytes` (data pending deletion due to snapshots)
*   **Total Reported Used Namespace:** `usedNamespace` (active items) + 
`snapshotUsedNamespace` (items pending deletion due to snapshots)

The usedBytes is only decremented upon snapshot purge.


> Bucket Quota With Snapshots
> ---------------------------
>
>                 Key: HDDS-13730
>                 URL: https://issues.apache.org/jira/browse/HDDS-13730
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Swaminathan Balachandran
>            Assignee: Sadanand Shenoy
>            Priority: Major
>             Fix For: 2.2.0
>
>
> Currently Bucket Quota feature does not work correctly with snapshots



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