Skip to content

HDDS-15587. [Recon] Show 0 for offline DN pending deletion instead of -1#10585

Open
priyeshkaratha wants to merge 1 commit into
apache:masterfrom
priyeshkaratha:HDDS-15587
Open

HDDS-15587. [Recon] Show 0 for offline DN pending deletion instead of -1#10585
priyeshkaratha wants to merge 1 commit into
apache:masterfrom
priyeshkaratha:HDDS-15587

Conversation

@priyeshkaratha

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

In the Capacity Distribution → Datanode Details section of Recon, if a datanode is selected and later goes offline, the node becomes disabled for new selection. However, if it was already selected, some metrics such as Pending Deletion are displayed as -1, which can be confusing to users.

To provide a better user experience, Recon should display 0 (or an appropriate default value) for these metrics when the selected datanode is offline or unavailable, instead of showing -1.

What is the link to the Apache JIRA

HDDS-15587

How was this patch tested?

Tested using unit test and manually.
image

@priyeshkaratha priyeshkaratha changed the title HDDS-14577. Show 0 for offline DN pending deletion in Recon UI HDDS-14577. [Recon] Show 0 for offline DN pending deletion instead of -1 Jun 23, 2026
@priyeshkaratha priyeshkaratha marked this pull request as ready for review June 23, 2026 08:38
@priyeshkaratha priyeshkaratha changed the title HDDS-14577. [Recon] Show 0 for offline DN pending deletion instead of -1 HDDS-15587. [Recon] Show 0 for offline DN pending deletion instead of -1 Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants