You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "wangyanhong (Jira)" <ji...@apache.org> on 2020/08/29 05:41:00 UTC

[jira] [Commented] (IOTDB-855) SessionPool resources will not be put back if RuntimeException occurs

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

wangyanhong commented on IOTDB-855:
-----------------------------------

hi,i'd like to do this issue

> SessionPool resources will not be put back if RuntimeException occurs
> ---------------------------------------------------------------------
>
>                 Key: IOTDB-855
>                 URL: https://issues.apache.org/jira/browse/IOTDB-855
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Client/CLI
>            Reporter: Wei Shao
>            Priority: Major
>
> In IoTDB SessionPool, When RuntimeException occurs, e.g. ClassCastException, NullPointerException, _putBack(Session session)_ method will not be executed, which leads to resource leak.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)