[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

@ -305,3 +305,11 @@ alter tablegroup tg2 add table t1,t2;
insert into t1 values(X'');
create table t1(`thedate` date NOT NULL COMMENT '日期');
alter system bootstrap REGION 'sys_region' ZONE 'zone1' SERVER '10.101.74.122:41425';
alter system transfer partition table_id = 1, object_id = 1 to ls 1001;
alter system transfer partition table_id = 1, object_id = 1 to ls 1001 tenant 'mysql';
alter system cancel transfer partition table_id = 1, object_id = 1;
alter system cancel transfer partition table_id = 1, object_id = 1 tenant 'mysql';
alter system cancel transfer partition ALL;
alter system cancel transfer partition ALL tenant 'mysql';
alter system cancel balance job;
alter system cancel balance job tenant 'mysql';