Skip to content

HDDS-13946. Wrong fields used to determine deleted block size in OM.#9308

Merged
ChenSammi merged 1 commit intoapache:masterfrom
priyeshkaratha:HDDS-13946
Nov 18, 2025
Merged

HDDS-13946. Wrong fields used to determine deleted block size in OM.#9308
ChenSammi merged 1 commit intoapache:masterfrom
priyeshkaratha:HDDS-13946

Conversation

@priyeshkaratha
Copy link
Contributor

What changes were proposed in this pull request?

The logic used in block size calculation should use the block’s actual length instead of info.getDataSize(), and the replicated size should be derived from this block length rather than using info.getReplicatedSize().

What is the link to the Apache JIRA

HDDS-13946

How was this patch tested?

Tested manually.

@priyeshkaratha priyeshkaratha marked this pull request as ready for review November 17, 2025 07:38
@priyeshkaratha
Copy link
Contributor Author

@sumitagrawl @ChenSammi Can you please review the changes?

@ChenSammi ChenSammi changed the title HDDS-13946. Fix incorrect block size calculation passed from OM to SCM. HDDS-13946. Wrong fields used to determine deleted block size in OM. Nov 18, 2025
@ChenSammi ChenSammi merged commit f9facd8 into apache:master Nov 18, 2025
54 of 55 checks passed
@ChenSammi
Copy link
Contributor

Thanks @priyeshkaratha for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants