[
https://issues.apache.org/jira/browse/HDDS-14020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siyao Meng updated HDDS-14020:
------------------------------
Status: Patch Available (was: Open)
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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]