You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ro...@apache.org on 2025/07/10 12:19:44 UTC
(iotdb) 07/09: Update ClientManager.java
This is an automated email from the ASF dual-hosted git repository.
rong pushed a commit to branch check-shit
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 798d242d1abda4fc0c3d0a72a3bd189133317e52
Author: Steve Yurong Su <ro...@apache.org>
AuthorDate: Thu Jul 10 18:27:39 2025 +0800
Update ClientManager.java
---
.../main/java/org/apache/iotdb/commons/client/ClientManager.java | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/client/ClientManager.java b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/client/ClientManager.java
index 0d8719ebeb6..af274f481ec 100644
--- a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/client/ClientManager.java
+++ b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/client/ClientManager.java
@@ -67,15 +67,6 @@ public class ClientManager<K, V> implements IClientManager<K, V> {
if (node == null) {
LOGGER.error("{} CAN NOT BE RETURNED", client, new Exception());
}
- Optional.ofNullable(node)
- .ifPresent(
- x -> {
- try {
- pool.returnObject(node, client);
- } catch (Exception e) {
- LOGGER.warn("Return client {} for node {} to pool failed.", client, node, e);
- }
- });
if (node != null) {
try {
pool.returnObject(node, client);