You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sammi Chen (Jira)" <ji...@apache.org> on 2025/07/15 06:29:00 UTC
[jira] [Resolved] (HDDS-13278) [DiskBalancer] Incorrect tracking of DiskBalancer inProgressTask and balancedByteMap initialisation
[ https://issues.apache.org/jira/browse/HDDS-13278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sammi Chen resolved HDDS-13278.
-------------------------------
Fix Version/s: 2.1.0
Resolution: Fixed
> [DiskBalancer] Incorrect tracking of DiskBalancer inProgressTask and balancedByteMap initialisation
> ---------------------------------------------------------------------------------------------------
>
> Key: HDDS-13278
> URL: https://issues.apache.org/jira/browse/HDDS-13278
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Gargi Jaiswal
> Assignee: Gargi Jaiswal
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.1.0
>
>
> This ticket addresses two related issues within the DiskBalancer logic:
> # *Incorrect Task Tracking:* The {{DiskBalancerService}} fails to track in-progress tasks, causing it to constantly over-schedule new balancing operations. This leads to an excessive task queue and flawed decision-making based on an inaccurate view of pending work.
> # *Uninitialized State Map:* In the {{{}DiskBalancerManager{}}}, the {{balancedBytesMap}} is never initialized. Consequently, it remains {{{}null{}}}, and any attempts to record the number of balanced bytes from datanode reports are silently ignored, preventing proper state tracking.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org