[jira] [Updated] (HDDS-13704) Calculate pending for deletion bytes at each snapshot
[ https://issues.apache.org/jira/browse/HDDS-13704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei-Chiu Chuang updated HDDS-13704: --- Parent: HDDS-15130 (was: HDDS-13747) > 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 >Assignee: Priyesh K >Priority: Major > > 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]
[jira] [Updated] (HDDS-13704) Calculate pending for deletion bytes at each snapshot
[ https://issues.apache.org/jira/browse/HDDS-13704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei-Chiu Chuang updated HDDS-13704: --- Parent: HDDS-13747 (was: HDDS-12940) > 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 >Assignee: Priyesh K >Priority: Major > > 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]
