priyeshkaratha opened a new pull request, #9272: URL: https://github.com/apache/ozone/pull/9272
## What changes were proposed in this pull request? - Add a DeletedBlocksTransactionSummary to count the block deletion transaction count, all involved block count, all size and replicated size of all involved block. - When block deletion transaction is persisted into SCM DB, transaction info is updated to increase in DeletedBlocksTransactionSummary. When block deletion transaction is removed from SCM DB, transaction info is updated to decrease in DeletedBlocksTransactionSummary. Any retry command of transaction doesn't affect the DeletedBlocksTransactionSummary. - Upgrading, for an existing Ozone cluster, all existing block deletion transaction prior to STORAGE_DATA_DISTRIBUTION finalized, will be ignored to update DeletedBlocksTransactionSummary when it's removed from SCM DB. DeletedBlocksTransactionSummary only counts the transaction after STORAGE_DATA_DISTRIBUTION is finalized. - Add a new CLI to query DeletedBlocksTransactionSummary. - Expose the DeletedBlocksTransactionSummary through metrics. - DB size increase consideration, refer to TestDeletedBlockLog#testTransactionSerializedSize comments - Performance consideration, refer to TestDeletedBlockLog#testAddRemoveTransactionPerformance comments ## What is the link to the Apache JIRA HDDS-13184 ## How was this patch tested? New unit tests added. And its tested in feature branch part of https://github.com/apache/ozone/pull/8845 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
