Xiangdong Huang created IOTDB-4741:
--------------------------------------

             Summary: 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


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)

Reply via email to