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

Weijie Guo closed FLINK-29808.
------------------------------
    Resolution: Duplicate

> Grant leadership to leaderContender while it is closing may lead to deadlock
> ----------------------------------------------------------------------------
>
>                 Key: FLINK-29808
>                 URL: https://issues.apache.org/jira/browse/FLINK-29808
>             Project: Flink
>          Issue Type: Technical Debt
>          Components: Runtime / Coordination
>    Affects Versions: 1.17.0
>            Reporter: Weijie Guo
>            Priority: Major
>
> If we grant leadership to a leaderContender, but it is closing at the same 
> time, deadlock may occur. This phenomenon was observed in 
> 'JobMasterServiceLeadershipRunner'. Through some investigation, I found that 
> `ResourceManagerServiceImpl` took some measures to avoid this problem, and 
> FLINK-29234 try to fix this problem in a similar way.
> However, there are other implementations of leaderContender. We need to check 
> the code and introduce some tests when necessary to ensure that they will not 
> suffer the same problem.



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

Reply via email to