Skip to content

HDDS-15060. [Recon] Fix totalOzoneUsedSpace mismatch in storageDistribution#10092

Open
priyeshkaratha wants to merge 1 commit intoapache:masterfrom
priyeshkaratha:HDDS-15060
Open

HDDS-15060. [Recon] Fix totalOzoneUsedSpace mismatch in storageDistribution#10092
priyeshkaratha wants to merge 1 commit intoapache:masterfrom
priyeshkaratha:HDDS-15060

Conversation

@priyeshkaratha
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This pull request refactors the StorageDistributionEndpoint to ensure consistency in storage reports. The calculateGlobalStorageReport method now aggregates metrics from a list of DatanodeStorageReport objects instead of making a separate call to nodeManager.getStats(), eliminating potential race conditions. Corresponding updates were made to the test suite, including removing obsolete mocks.

What is the link to the Apache JIRA

HDDS-15060

How was this patch tested?

Existing unit and integration test cases.

@priyeshkaratha priyeshkaratha marked this pull request as ready for review April 20, 2026 11:28
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.

1 participant