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 7d0a735f2f3 fix.create role folder when init.
7d0a735f2f3 is described below

commit 7d0a735f2f38569c57f7832d2ef2f3fde7bfd2fb
Author: Colin Li <[email protected]>
AuthorDate: Fri Jan 26 20:55:08 2024 +0800

    fix.create role folder when init.
---
 .../main/java/org/apache/iotdb/commons/auth/role/BasicRoleManager.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/auth/role/BasicRoleManager.java
 
b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/auth/role/BasicRoleManager.java
index 244bf323668..43341bd7561 100644
--- 
a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/auth/role/BasicRoleManager.java
+++ 
b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/auth/role/BasicRoleManager.java
@@ -56,6 +56,7 @@ public abstract class BasicRoleManager implements 
IRoleManager {
     this.roleMap = new HashMap<>();
     this.accessor = accessor;
     this.lock = new HashLock();
+    this.accessor.reset();
   }
 
   @Override

Reply via email to