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: [email protected]
For additional commands, e-mail: [email protected]