[
https://issues.apache.org/jira/browse/HDDS-13665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gargi Jaiswal updated HDDS-13665:
---------------------------------
Description:
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* but use it's implementation in
*DiskBalancerReportPublisher* to sent complete diskBalancer report.
was:
In *HeartbeatEndpointTask* there are two reports sent to scm by DN for
diskBalancer, one is by *addReport* using *DiskBalancerReportPublisher* and
second is by *addDiskBalancerReport* .
Proposed Solution:
Remove *addDiskBalancerReport* but use it's implementation in
*DiskBalancerReportPublisher* to sent complete diskBalancer report.
> [DiskBalancer] Cleanup for multiple DiskBalancerReport sent to SCM
> ------------------------------------------------------------------
>
> Key: HDDS-13665
> URL: https://issues.apache.org/jira/browse/HDDS-13665
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Gargi Jaiswal
> Assignee: Gargi Jaiswal
> Priority: Minor
>
> 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* but use it's implementation in
> *DiskBalancerReportPublisher* to sent complete diskBalancer report.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]