This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch rc/2.0.3
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rc/2.0.3 by this push:
new 9618a56c4af Remove SessionPool sensitive info (#15506)
9618a56c4af is described below
commit 9618a56c4afc80df5f63adf37c40951522620f1a
Author: Haonan <[email protected]>
AuthorDate: Thu May 15 11:20:07 2025 +0800
Remove SessionPool sensitive info (#15506)
(cherry picked from commit 0ad5221611768dbd9841830ee2d24ab76028990f)
---
.../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 e7515d60e47..3eefa646546 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
@@ -672,11 +672,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(),