Ivan Andika created HDDS-16222:
----------------------------------

             Summary: Create a PMD rule to enforce that notifyStatusChanged 
cannot block
                 Key: HDDS-16222
                 URL: https://issues.apache.org/jira/browse/HDDS-16222
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Ivan Andika
            Assignee: Ivan Andika


We have incidents due to wrong usage of notifyStatusChanged in Ozone.
 * HDDS-11750: This is caused by deadlock when notifyStatusChanged submits 
another Ratis
 * HDDS-16029: This is caused by notifyStatusChanged blocking during 
ContainerBalancer Thread.join

One idea is to write a PMD rule to statically detect the following issues.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to