Skip to content

HDDS-15123. Change NumberOfKeys to NumberOfBlocks in Recon Unhealthy Container API.#10142

Open
ArafatKhan2198 wants to merge 2 commits intoapache:masterfrom
ArafatKhan2198:HDDS-15123
Open

HDDS-15123. Change NumberOfKeys to NumberOfBlocks in Recon Unhealthy Container API.#10142
ArafatKhan2198 wants to merge 2 commits intoapache:masterfrom
ArafatKhan2198:HDDS-15123

Conversation

@ArafatKhan2198
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

The Recon Unhealthy Container API currently exposes the field NumberOfKeys in its response payload. This is misleading, as the value represents the number of blocks, not keys.

This task involves updating the API response schema, implementation, and documentation to replace NumberOfKeys with NumberOfBlocks for clarity and correctness.

https://ozone.apache.org/docs/2.0.0/interface/swaggerreconapi.html#/Containers/getContainerInfo

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-15123

How was this patch tested?

Tested out using docker compose -

image

Copy link
Copy Markdown
Contributor

@spacemonkd spacemonkd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @ArafatKhan2198.
LGTM, +1

@ArafatKhan2198 ArafatKhan2198 marked this pull request as ready for review April 27, 2026 06:32
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