You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Lokesh Jain (Jira)" <ji...@apache.org> on 2019/09/20 11:50:00 UTC
[jira] [Updated] (RATIS-687) RaftServerImpl is not shutdown when
transitioning from NEW to CLOSED state
[ https://issues.apache.org/jira/browse/RATIS-687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lokesh Jain updated RATIS-687:
------------------------------
Attachment: RATIS-687.001.patch
> RaftServerImpl is not shutdown when transitioning from NEW to CLOSED state
> --------------------------------------------------------------------------
>
> Key: RATIS-687
> URL: https://issues.apache.org/jira/browse/RATIS-687
> Project: Ratis
> Issue Type: Bug
> Reporter: Lokesh Jain
> Assignee: Lokesh Jain
> Priority: Major
> Attachments: RATIS-687.001.patch
>
>
> LifeCycle#checkStateAndClose does not run closeMethod when there is a transition from NEW to CLOSED state. In case of RaftServerImpl this leads to leak of resources as the SegmentedRaftLogWorker#workerThread is never closed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)