[FEAT MERGE] [CP] transfer partition && cancel transfer partition

Co-authored-by: linqiucen <lqcgrace@outlook.com>
This commit is contained in:
maosy
2024-03-20 09:46:02 +00:00
committed by ob-robot
parent e69c06c5d4
commit 84c5698b2a
87 changed files with 7195 additions and 222 deletions

View File

@ -1850,7 +1850,8 @@ int get_sys_tenant_alter_system_priv(
stmt::T_BACKUP_KEY != basic_stmt->get_stmt_type() &&
stmt::T_RECOVER != basic_stmt->get_stmt_type() &&
stmt::T_TABLE_TTL != basic_stmt->get_stmt_type() &&
stmt::T_ALTER_SYSTEM_RESET_PARAMETER != basic_stmt->get_stmt_type()) {
stmt::T_ALTER_SYSTEM_RESET_PARAMETER != basic_stmt->get_stmt_type() &&
stmt::T_TRANSFER_PARTITION != basic_stmt->get_stmt_type()) {
ret = OB_ERR_NO_PRIVILEGE;
LOG_WARN("Only sys tenant can do this operation",
K(ret), "stmt type", basic_stmt->get_stmt_type());