[ 
https://issues.apache.org/jira/browse/RATIS-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16838455#comment-16838455
 ] 

Lokesh Jain commented on RATIS-540:
-----------------------------------

Took a second look at the code. The daemon thread should be closed as lifecycle 
is transitioned to CLOSING state. It finishes execution eventually after this 
change.

> LeaderElection#shutdown does not stop the daemon
> ------------------------------------------------
>
>                 Key: RATIS-540
>                 URL: https://issues.apache.org/jira/browse/RATIS-540
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: Lokesh Jain
>            Assignee: Lokesh Jain
>            Priority: Major
>
> LeaderElection#shutdown does not stop the daemon. This leads to multiple 
> leader election threads accumulating in the JVM as a daemon is added in every 
> leader election. It ultimately leads to JVM shutdown.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to