You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2025/05/15 02:59:46 UTC

(iotdb) branch HTHou-patch-1 created (now d4ad460bad4)

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

haonan pushed a change to branch HTHou-patch-1
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at d4ad460bad4 [To dev/1.3] Remove SessionPool sensitive info

This branch includes the following new commits:

     new d4ad460bad4 [To dev/1.3] Remove SessionPool sensitive info

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(iotdb) 01/01: [To dev/1.3] Remove SessionPool sensitive info

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch HTHou-patch-1
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit d4ad460bad4c28c538fa28337762f9d0ffbb26c9
Author: Haonan <hh...@outlook.com>
AuthorDate: Thu May 15 10:59:35 2025 +0800

    [To dev/1.3] Remove SessionPool sensitive info
---
 .../src/main/java/org/apache/iotdb/session/pool/SessionPool.java     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java b/iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java
index 70e4d73209d..301b245b70e 100644
--- a/iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java
+++ b/iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java
@@ -651,11 +651,10 @@ public class SessionPool implements ISessionPool {
           long timeOut = Math.min(waitToGetSessionTimeoutInMs, 60_000);
           if (System.currentTimeMillis() - start > timeOut) {
             LOGGER.warn(
-                "the SessionPool has wait for {} seconds to get a new connection: {} with {}, {}",
+                "the SessionPool has wait for {} seconds to get a new connection: {} with {}",
                 (System.currentTimeMillis() - start) / 1000,
                 formattedNodeUrls,
-                user,
-                password);
+                user);
             LOGGER.warn(
                 "current occupied size {}, queue size {}, considered size {} ",
                 occupied.size(),