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

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


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

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

    Fix NodeSupplier connection leaky while encountering exception
    
    (cherry picked from commit f8875c01213cbe13af886fcbad6fea636756a0eb)
---
 .../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