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

jackietien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new d0dab07ec47 Fix IAuthorCache never update
d0dab07ec47 is described below

commit d0dab07ec47682c1f285b6ae823e86a55dfd1969
Author: Haonan <[email protected]>
AuthorDate: Fri May 16 16:31:16 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();

Reply via email to