HDDS-14625. [Recon] Display Total Replicated Size for SCM Pending Deletion #9757
+3
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
In the Cluster Capacity UI, the Pending Deletion card is currently displaying the unreplicated size. However, this does not accurately reflect the actual space being held by SCM tasks.
The intention is to show the total space occupied across the cluster by blocks that are pending deletion. Since data is replicated, the space impact is based on the replicated size, not the original key size.
For example, if a 100 MB key is deleted and the replication factor is 3, SCM is actually holding 300 MB (100 MB × 3) worth of block data across the datanodes until deletion is completed. Therefore, the UI should display the total replicated pending block size, as this represents the real storage consumed in the cluster.
What is the link to the Apache JIRA
HDDS-14625
How was this patch tested?
Tested manually in UI
