You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Haonan Hou (Jira)" <ji...@apache.org> on 2022/07/25 06:55:00 UTC

[jira] [Assigned] (IOTDB-3943) Optimize session timeout feature

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

Haonan Hou reassigned IOTDB-3943:
---------------------------------

    Assignee: suchenglong

> Optimize session timeout feature
> --------------------------------
>
>                 Key: IOTDB-3943
>                 URL: https://issues.apache.org/jira/browse/IOTDB-3943
>             Project: Apache IoTDB
>          Issue Type: Improvement
>            Reporter: Haonan Hou
>            Assignee: suchenglong
>            Priority: Major
>
> Users may forget to close sessions. Such idle connections lead to a waste of server resource and in the worst case, take up all the memory of server. Session timeout is trying to solve such problem.
> https://github.com/apache/iotdb/pull/3483
> Currently this feature has other problems
>  # Once the session is cleared by session timeout, the client will not get the status, when client tries to use the session again, server will throw NPE. We should throw connect exception here to client, so that session pool can catch it and uses another session to connect.
>  # Metric module will insert data to IoTDB, we need to consider use session pool in this module.



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