You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sumit Agrawal (Jira)" <ji...@apache.org> on 2022/09/13 06:04:00 UTC
[jira] [Assigned] (HDDS-7215) ContainerBalancer need have separate class handling management and balancing activity
[ https://issues.apache.org/jira/browse/HDDS-7215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sumit Agrawal reassigned HDDS-7215:
-----------------------------------
Assignee: Sumit Agrawal
> ContainerBalancer need have separate class handling management and balancing activity
> -------------------------------------------------------------------------------------
>
> Key: HDDS-7215
> URL: https://issues.apache.org/jira/browse/HDDS-7215
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Sumit Agrawal
> Assignee: Sumit Agrawal
> Priority: Minor
>
> ContinerBalancer performs 2 activity:
> # Management: start and stop
> # Balancing: actual running of balancing task
> This have problem of shared fields to both management and balancing jobs. Its observed deadlock of improper use of lock in management call and balancing thread.
> Separation of these responsibility will help in clean code and having exclusive lock if required. Stopping of balancing do not need to have lock check avoiding deadlock case.
>
--
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