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

[jira] [Commented] (IOTDB-4741) deprecate sessionId in all rpc requests

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

Jialin Qiao commented on IOTDB-4741:
------------------------------------

0.13 is done

> deprecate sessionId in all rpc requests
> ---------------------------------------
>
>                 Key: IOTDB-4741
>                 URL: https://issues.apache.org/jira/browse/IOTDB-4741
>             Project: Apache IoTDB
>          Issue Type: Task
>            Reporter: Xiangdong Huang
>            Priority: Major
>              Labels: pull-request-available
>
> Letting client claim its sessionId is not a good practice.
> Using and manage a ClientSession to describe each connection on the server side is more safe.
> Besides, Current timeout connection can not be closed by the server side, which may lead resource leakage if clients forget to close their connections. Therefore, we can close the socket connection to notify Thrift close the session.
>  
>  



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