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

suchenglong commented on IOTDB-3898:
------------------------------------

这个属于正常的。

在cli客户端中,默认使用了isRpcFetchResult,这个开关在ResultSet轮询完后,发送fetch请求到服务端,请求完成后并进行关闭操作(第一次close)。在程序执行完成后,try()中会自动进行释放,此时会再次进行select操作的close操作(第二次),所以服务端打印两次日志是正常的.

> ”IoTDB: receive close operation from Session 1“ execute 2 times
> ---------------------------------------------------------------
>
>                 Key: IOTDB-3898
>                 URL: https://issues.apache.org/jira/browse/IOTDB-3898
>             Project: Apache IoTDB
>          Issue Type: Bug
>            Reporter: zhenqqiang
>            Assignee: suchenglong
>            Priority: Minor
>         Attachments: image-2022-07-20-14-07-44-435.png
>
>
> should 1 times, 2 times may lead to error
>  !image-2022-07-20-14-07-44-435.png|thumbnail! 



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

Reply via email to