This is an automated email from the ASF dual-hosted git repository.
HTHou 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 dacf7c681f8 Expand some codes for use in the future (#18752)
dacf7c681f8 is described below
commit dacf7c681f86b59373d4e780302945ec8ba912e2
Author: libo <[email protected]>
AuthorDate: Tue Sep 29 12:00:38 2026 +0800
Expand some codes for use in the future (#18752)
---
.../src/main/java/org/apache/iotdb/rpc/TSStatusCode.java | 3 +++
.../iotdb/confignode/consensus/request/ConfigPhysicalPlanType.java | 6 ++++++
2 files changed, 9 insertions(+)
diff --git
a/iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/TSStatusCode.java
b/iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/TSStatusCode.java
index fce965fe27b..97b5144678d 100644
---
a/iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/TSStatusCode.java
+++
b/iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/TSStatusCode.java
@@ -186,6 +186,9 @@ public enum TSStatusCode {
OPTIMIZER_TIMEOUT(819),
ILLEGAL_PASSWORD(820),
USER_LOGIN_LOCKED(822),
+ TOTP_CODE_REQUIRED(823),
+ TOTP_CODE_INVALID(824),
+ TOTP_AUTH_SERVICE_UNAVAILABLE(825),
// Partition Error
MIGRATE_REGION_ERROR(900),
diff --git
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/ConfigPhysicalPlanType.java
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/ConfigPhysicalPlanType.java
index afef9f82bfe..8abc88d5350 100644
---
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/ConfigPhysicalPlanType.java
+++
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/ConfigPhysicalPlanType.java
@@ -338,6 +338,12 @@ public enum ConfigPhysicalPlanType {
RenameUser((short) 2104),
RRenameUser((short) 2105),
AccountUnlock((short) 2106),
+ EnableUserTotp((short) 2107),
+ ResetUserTotp((short) 2108),
+ DisableUserTotp((short) 2109),
+ REnableUserTotp((short) 2110),
+ RResetUserTotp((short) 2111),
+ RDisableUserTotp((short) 2112),
EnableSeparationOfAdminPowers((short) 2200),