You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sumit Agrawal (Jira)" <ji...@apache.org> on 2025/09/22 15:47:00 UTC
[jira] [Created] (HDDS-13704) Calculate pending for deletion bytes at each snapshot
Sumit Agrawal created HDDS-13704:
------------------------------------
Summary: Calculate pending for deletion bytes at each snapshot
Key: HDDS-13704
URL: https://issues.apache.org/jira/browse/HDDS-13704
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Sumit Agrawal
To identify how much pending overall acquired by snapshot, we can maintain the pending bytes to be deleted at each snapshot.
This pendingDeletion bytes will refer the amount of bytes pending for deletion in deletedTable and deletedDirectoryTable.
So from this, it can identify *total bytes* hold by snapshots (exclusively) = sum(all snapshot pending bytes)
Gap:
* newly pending for delete in active db can be part of snapshots, this will not be able to be treated as snapshot exclusive till additional computation is done for this.
* This might be not in this scope
* This will be treated as pending bytes, but recon when doing seggregation can handle this scenario.
As implementation perspective, it can be implemented during -
* deep clean service of snapshot
* store this information in SnapshotInfoTable
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org