[FEAT MERGE] Support batch construction of local indexes to solve the problem of temporary space enlargement

This commit is contained in:
791065426@qq.com
2024-06-17 11:04:15 +00:00
committed by ob-robot
parent 188418cf13
commit 6dfa79db04
23 changed files with 2192 additions and 199 deletions

View File

@ -883,7 +883,7 @@ int ObAlterTableExecutor::alter_table_rpc_v2(
}
}
}
} else if (DDL_CREATE_INDEX == res.ddl_type_ || DDL_NORMAL_TYPE == res.ddl_type_) {
} else if (is_create_index(res.ddl_type_) || DDL_NORMAL_TYPE == res.ddl_type_) {
// TODO(shuangcan): alter table create index returns DDL_NORMAL_TYPE now, check if we can fix this later
// 同步等索引建成功
for (int64_t i = 0; OB_SUCC(ret) && i < add_index_arg_list.size(); ++i) {