This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new f8875c01213 Fix NodeSupplier connection leaky while encountering 
exception
f8875c01213 is described below

commit f8875c01213cbe13af886fcbad6fea636756a0eb
Author: Jackie Tien <[email protected]>
AuthorDate: Sat Aug 30 09:20:31 2025 +0800

    Fix NodeSupplier connection leaky while encountering exception
---
 .../session/src/main/java/org/apache/iotdb/session/ThriftConnection.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/iotdb-client/session/src/main/java/org/apache/iotdb/session/ThriftConnection.java
 
b/iotdb-client/session/src/main/java/org/apache/iotdb/session/ThriftConnection.java
index 5f9f2a304a5..5e734b8dfa1 100644
--- 
a/iotdb-client/session/src/main/java/org/apache/iotdb/session/ThriftConnection.java
+++ 
b/iotdb-client/session/src/main/java/org/apache/iotdb/session/ThriftConnection.java
@@ -193,6 +193,7 @@ public class ThriftConnection {
         }
       } catch (TException e) {
         LOGGER.warn("Closing Session-{} with {} failed.", sessionId, endPoint);
+      } finally {
         if (transport.isOpen()) {
           transport.close();
         }

Reply via email to