Swaminathan Balachandran created HDDS-14020:
-----------------------------------------------

             Summary: Deadlock in Background service shutdown
                 Key: HDDS-14020
                 URL: https://issues.apache.org/jira/browse/HDDS-14020
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Swaminathan Balachandran
            Assignee: Swaminathan Balachandran


Currently both background task and shutdown acquire a synchronized lock which 
can lead to a deadlock on shutdown which means the threadPool shutdown takes 
time unnecessarily. The synchronized block on task was taken to ensure there 
are no parallel tasks that run together. Introducing a semaphore with 1 would 
solve this issue.



--
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