[ 
https://issues.apache.org/jira/browse/HDDS-11386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sumit Agrawal resolved HDDS-11386.
----------------------------------
    Fix Version/s: 2.0.0
       Resolution: Fixed

> 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
>             Fix For: 2.0.0
>
>
> 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: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to