[FEAT MERGE] change the semantics of tenant=all

This commit is contained in:
obdev
2023-08-31 03:10:42 +00:00
committed by ob-robot
parent 6f95b8a7ab
commit 03b37d3730
36 changed files with 1042 additions and 346 deletions

View File

@ -293,7 +293,9 @@ public:
ObSqlString sql;
int64_t affected_rows = 0;
WRITE_SQL_BY_CONN(connection, "alter system minor freeze tenant all;");
WRITE_SQL_BY_CONN(connection, "alter system minor freeze tenant sys;");
WRITE_SQL_BY_CONN(connection, "alter system minor freeze tenant all_user;");
WRITE_SQL_BY_CONN(connection, "alter system minor freeze tenant all_meta;");
fprintf(stdout, "start flush user data\n");
sleep(10);