Skip to content

Conversation

@Gargi-jais11
Copy link
Contributor

What changes were proposed in this pull request?

In HeartbeatEndpointTask there are two reports sent to scm by DN for diskBalancer, one is by addReport using DiskBalancerReportPublisher and second is by addDiskBalancerReport .

DiskBalancer Report should be sent actively only when diskBalancer is running or paused by node state and if diskBalancer is stopped then report should only be sent if there is any changes since last published report.

Proposed Solution:
Remove addDiskBalancerReport .

What is the link to the Apache JIRA

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

How was this patch tested?

Passed Existing tests.

@Gargi-jais11 Gargi-jais11 marked this pull request as ready for review September 15, 2025 06:47
Copy link
Contributor

@sumitagrawl sumitagrawl left a comment

Choose a reason for hiding this comment

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

@Gargi-jais11 thanks for working over this, given a comment

Copy link
Contributor

@sumitagrawl sumitagrawl left a comment

Choose a reason for hiding this comment

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

LGTM

@sumitagrawl sumitagrawl merged commit 4e9bb80 into apache:HDDS-5713 Sep 19, 2025
43 checks passed
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