[FIX] redesign ObFreezer to support multiple tablet freeze

This commit is contained in:
ZenoWang
2024-06-17 11:50:32 +00:00
committed by ob-robot
parent 0a4bfeca85
commit ca3bf29fe1
28 changed files with 1436 additions and 1022 deletions

View File

@ -22,12 +22,12 @@ namespace oceanbase
namespace storage
{
int __attribute__((weak)) build_test_schema(share::schema::ObTableSchema &table_schema, uint64_t table_id)
int __attribute__((weak)) build_test_schema(share::schema::ObTableSchema &table_schema, uint64_t table_id, const char* table_name)
{
int ret = OB_SUCCESS;
ObColumnSchemaV2 column;
table_schema.reset();
table_schema.set_table_name("test_merge");
table_schema.set_table_name(table_name);
table_schema.set_tenant_id(1);
table_schema.set_tablegroup_id(1);
table_schema.set_database_id(1);
@ -47,6 +47,11 @@ int __attribute__((weak)) build_test_schema(share::schema::ObTableSchema &table
return ret;
}
int __attribute__((weak)) build_test_schema(share::schema::ObTableSchema &table_schema, uint64_t table_id)
{
return build_test_schema(table_schema, table_id, "test_merge");
}
int __attribute__((weak)) gen_create_ls_arg(const int64_t tenant_id,
const share::ObLSID &ls_id,
obrpc::ObCreateLSArg &arg)