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 03:21:34 UTC

(iotdb) branch dev/1.3 updated: [To dev/1.3] Remove SessionPool sensitive info (#15507)

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

haonan pushed a commit to branch dev/1.3
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/dev/1.3 by this push:
     new a601933a685 [To dev/1.3] Remove SessionPool sensitive info (#15507)
a601933a685 is described below

commit a601933a685303aa2bb953bdbcd30691a53c41c6
Author: Haonan <hh...@outlook.com>
AuthorDate: Thu May 15 11:21:28 2025 +0800

    [To dev/1.3] Remove SessionPool sensitive info (#15507)
---
 .../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(),