Skip to content

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

Closed
ArafatKhan2198 wants to merge 2 commits into
apache:masterfrom
ArafatKhan2198:HDDS-15123
Closed

HDDS-15123. Change NumberOfKeys to NumberOfBlocks in Recon Unhealthy Container API.#10142
ArafatKhan2198 wants to merge 2 commits into
apache: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

@spacemonkd spacemonkd left a comment

Copy link
Copy Markdown
Contributor

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
@github-actions

Copy link
Copy Markdown

This PR has been marked as stale due to 21 days of inactivity. Please comment or remove the stale label to keep it open. Otherwise, it will be automatically closed in 7 days.

@github-actions github-actions Bot added the stale label May 31, 2026
@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

Thank you for your contribution. This PR is being closed due to inactivity. Please contact a maintainer if you would like to reopen it.

@github-actions github-actions Bot closed this Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants