[
https://issues.apache.org/jira/browse/HDDS-11386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-11386:
----------------------------------
Labels: pull-request-available (was: )
> Multithreading bug in ContainerBalancerTask
> -------------------------------------------
>
> Key: HDDS-11386
> URL: https://issues.apache.org/jira/browse/HDDS-11386
> Project: Apache Ozone
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Siddhant Sangwan
> Assignee: Sarveksha Yeshavantha Raju
> Priority: Major
> Labels: pull-request-available
>
> The method `{{getCurrentIterationsStatistic}}` accesses various data
> structures and objects. A reading thread that's executing this method could
> be reading while the balancing thread is writing to these data structures and
> objects. This is code is not thread safe and can cause unpredictable errors.
> Some other thread safety issues could be there in this class and
> ContainerBalancer as well.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]