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

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

commit 02a38805ffafd1fe67e767279a8dc8226443d279
Author: Haonan <[email protected]>
AuthorDate: Fri May 16 16:31:16 2025 +0800

    Fix IAuthorCache never update
    
    (cherry picked from commit d0dab07ec47682c1f285b6ae823e86a55dfd1969)
---
 .../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