[ 
https://issues.apache.org/jira/browse/HDDS-7598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17645929#comment-17645929
 ] 

Sumit Agrawal commented on HDDS-7598:
-------------------------------------

*Action over bucket:*
1. Item is Added:
- This is outside of already snapshot, so addition will cause normal increment 
of space and namespace quota.
2. Item is Deleted:
- If the item is part of snapshot also, then item deletion should not cause 
reduce of space and namespace quota
3. Item is modified (currently not supported):
- A modification for item having snapshot, in this case, a copy of item 
metadata with new ObjectId must be created to represent it differently.
And initial + delta quota shoud be added. (This will become different than 
snapshot at OM)

*Action over Snapshot:*
- When snapshot is getting removed, it must reduce the quota only if -- 
Corresponding item is not present in bucket

*Note:* Deletion of item or snapshot need check existence of its pair in bucket 
OR snapshot list, This will be having impact on performance.
 

> Quota for snapshot handling
> ---------------------------
>
>                 Key: HDDS-7598
>                 URL: https://issues.apache.org/jira/browse/HDDS-7598
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Sumit Agrawal
>            Assignee: Sumit Agrawal
>            Priority: Minor
>
> when snapshot is created, need handle quota:
>  # snapshot info: can show quota as snapshot info
>  # quota update for keys/directory when delete snapshot or item



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