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

yongzao pushed a commit to branch rm-pswd-his-from-__sys
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rm-pswd-his-from-__sys by this 
push:
     new e76aac13536 trigger CI
e76aac13536 is described below

commit e76aac135363b56c5fcefb643192f36f4b5b9557
Author: Yongzao <[email protected]>
AuthorDate: Fri Sep 26 17:21:56 2025 +0800

    trigger CI
    
    Update IoTDBDatabaseIT.java
---
 .../org/apache/iotdb/db/it/audit/IoTDBAuditLogBasicIT.java | 14 --------------
 .../apache/iotdb/relational/it/schema/IoTDBDatabaseIT.java |  6 ++----
 .../main/java/org/apache/iotdb/db/audit/DNAuditLogger.java |  4 +---
 3 files changed, 3 insertions(+), 21 deletions(-)

diff --git 
a/integration-test/src/test/java/org/apache/iotdb/db/it/audit/IoTDBAuditLogBasicIT.java
 
b/integration-test/src/test/java/org/apache/iotdb/db/it/audit/IoTDBAuditLogBasicIT.java
index a956b2033e0..0f831ad8a74 100644
--- 
a/integration-test/src/test/java/org/apache/iotdb/db/it/audit/IoTDBAuditLogBasicIT.java
+++ 
b/integration-test/src/test/java/org/apache/iotdb/db/it/audit/IoTDBAuditLogBasicIT.java
@@ -165,20 +165,6 @@ public class IoTDBAuditLogBasicIT {
               "null",
               "null",
               "Successfully start the Audit service with configurations 
(auditableOperationType [DDL, DML, QUERY, CONTROL], auditableOperationLevel 
GLOBAL, auditableOperationResult SUCCESS,FAIL)"),
-          // Create password history TODO: @Hongzhi Gao move password history 
under __audit
-          Arrays.asList(
-              "node_1",
-              "u_0",
-              "root",
-              "",
-              "OBJECT_AUTHENTICATION",
-              "DDL",
-              "null",
-              "null",
-              "true",
-              "root.__system",
-              "null",
-              "User root (ID=0) requests authority on object root.__system 
with result true"),
           // Show audit database TODO: Fix typo in tree model
           Arrays.asList(
               "node_1",
diff --git 
a/integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBDatabaseIT.java
 
b/integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBDatabaseIT.java
index 279e0c76b2b..894d359cbd9 100644
--- 
a/integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBDatabaseIT.java
+++ 
b/integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBDatabaseIT.java
@@ -735,9 +735,7 @@ public class IoTDBDatabaseIT {
           
Collections.singleton(EnvFactory.getEnv().getConfigNodeWrapperList().size() + 
","));
 
       Set<String> resultSet = new HashSet<>();
-      // data region created from writing password history
-      resultSet.add("1,");
-      for (int i = 1; i < EnvFactory.getEnv().getDataNodeWrapperList().size(); 
i++) {
+      for (int i = 0; i < EnvFactory.getEnv().getDataNodeWrapperList().size(); 
i++) {
         resultSet.add("0,");
       }
       TestUtils.assertResultSetEqual(
@@ -804,7 +802,7 @@ public class IoTDBDatabaseIT {
 
     try (final Connection connection = EnvFactory.getEnv().getConnection();
         final Statement statement = connection.createStatement()) {
-      TestUtils.assertResultSetSize(statement.executeQuery("show databases"), 
2);
+      TestUtils.assertResultSetSize(statement.executeQuery("show databases"), 
1);
     }
   }
 
diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/audit/DNAuditLogger.java
 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/audit/DNAuditLogger.java
index e2f2abd4901..c26bbb1a38d 100644
--- 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/audit/DNAuditLogger.java
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/audit/DNAuditLogger.java
@@ -81,9 +81,7 @@ import java.util.function.Supplier;
 import static 
org.apache.iotdb.db.pipe.receiver.protocol.legacy.loader.ILoader.SCHEMA_FETCHER;
 
 public class DNAuditLogger extends AbstractAuditLogger {
-  // TODO: @Hongzhi Gao move this path under __audit
-  public static final String PREFIX_PASSWORD_HISTORY =
-      "root." + SystemConstant.SYSTEM_PREFIX_KEY + ".password_history";
+  public static final String PREFIX_PASSWORD_HISTORY = 
"root.__audit.password_history";
   private static final Logger logger = 
LoggerFactory.getLogger(DNAuditLogger.class);
 
   // TODO: @zhujt20 Optimize the following stupid retry

Reply via email to