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/16 07:19:43 UTC
(iotdb) branch HTHou-patch-1 created (now 1b312821390)
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 1b312821390 Fix IAuthorCache never update
This branch includes the following new commits:
new 1b312821390 Fix IAuthorCache never update
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: Fix IAuthorCache never update
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 1b3128213902819fd727670b9fdf6c9424fbf7db
Author: Haonan <hh...@outlook.com>
AuthorDate: Fri May 16 15:19:34 2025 +0800
Fix IAuthorCache never update
---
.../src/main/java/org/apache/iotdb/db/auth/ClusterAuthorityFetcher.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/auth/ClusterAuthorityFetcher.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/auth/ClusterAuthorityFetcher.java
index 1370e019f10..23b0efcd1e2 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/auth/ClusterAuthorityFetcher.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/auth/ClusterAuthorityFetcher.java
@@ -74,7 +74,7 @@ public class ClusterAuthorityFetcher implements IAuthorityFetcher {
private boolean cacheOutDate = false;
private long heartBeatTimeStamp = 0;
- private boolean acceptCache = false;
+ private boolean acceptCache = true;
private static final IClientManager<ConfigRegionId, ConfigNodeClient> CONFIG_NODE_CLIENT_MANAGER =
ConfigNodeClientManager.getInstance();