[ https://issues.apache.org/jira/browse/HDDS-13178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Priyesh K updated HDDS-13178: ----------------------------- Description: Currently, during block deletion, OM sends a {{DeletedBlocksTransaction}} to SCM containing only the list of {{{}BlockID{}}}s to be deleted. However, this lacks block-level size information, making it difficult for SCM to compute accurate metrics on pending deletions and total space that will be reclaimed. Introduce two new proto messages: * {{DeletedBlock}} – contains {{BlockID}} and corresponding {{usedBytes}} * {{DeletedBlockGroup}} – contains {{groupId}} and list of {{DeletedBlock} Also required corresponding proto changes in SCM was: Currently, during block deletion, OM sends a {{DeletedBlocksTransaction}} to SCM containing only the list of {{{}BlockID{}}}s to be deleted. However, this lacks block-level size information, making it difficult for SCM to compute accurate metrics on pending deletions and total space that will be reclaimed. Introduce two new proto messages: * {{DeletedBlock}} – contains {{BlockID}} and corresponding {{usedBytes}} * {{DeletedBlockGroup}} – contains {{groupId}} and list of {{DeletedBlock}} {{}} Also required corresponding proto changes in SCM > Pass usedBytes in Delete blocktransaction from OM to SCM > -------------------------------------------------------- > > Key: HDDS-13178 > URL: https://issues.apache.org/jira/browse/HDDS-13178 > Project: Apache Ozone > Issue Type: Sub-task > Reporter: Priyesh K > Assignee: Priyesh K > Priority: Major > > Currently, during block deletion, OM sends a {{DeletedBlocksTransaction}} to > SCM containing only the list of {{{}BlockID{}}}s to be deleted. However, this > lacks block-level size information, making it difficult for SCM to compute > accurate metrics on pending deletions and total space that will be reclaimed. > Introduce two new proto messages: > * {{DeletedBlock}} – contains {{BlockID}} and corresponding {{usedBytes}} > * {{DeletedBlockGroup}} – contains {{groupId}} and list of {{DeletedBlock} > Also required corresponding proto changes in SCM -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org