Skip to content

Commit dacf7c6

Browse files
authored
Expand some codes for use in the future (#18752)
1 parent a6cfe25 commit dacf7c6

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

‎iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/TSStatusCode.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ public enum TSStatusCode {
186186
OPTIMIZER_TIMEOUT(819),
187187
ILLEGAL_PASSWORD(820),
188188
USER_LOGIN_LOCKED(822),
189+
TOTP_CODE_REQUIRED(823),
190+
TOTP_CODE_INVALID(824),
191+
TOTP_AUTH_SERVICE_UNAVAILABLE(825),
189192

190193
// Partition Error
191194
MIGRATE_REGION_ERROR(900),

‎iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/ConfigPhysicalPlanType.java‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,12 @@ public enum ConfigPhysicalPlanType {
338338
RenameUser((short) 2104),
339339
RRenameUser((short) 2105),
340340
AccountUnlock((short) 2106),
341+
EnableUserTotp((short) 2107),
342+
ResetUserTotp((short) 2108),
343+
DisableUserTotp((short) 2109),
344+
REnableUserTotp((short) 2110),
345+
RResetUserTotp((short) 2111),
346+
RDisableUserTotp((short) 2112),
341347

342348
EnableSeparationOfAdminPowers((short) 2200),
343349

0 commit comments

Comments
 (0)