提交 1eed9d4d 编写于 作者: H HaHaJeff 提交者: ob-robot

fixed not rollback log disk after create tenant failed

上级 c377bfd2
......@@ -940,7 +940,7 @@ int ObMultiTenant::create_tenant(const ObTenantMeta &meta, bool write_slog, cons
do {
tmp_ret = OB_SUCCESS;
if (create_step >= ObTenantCreateStep::STEP_LOG_DISK_SIZE_PINNED) {
if (!is_valid_tenant_id(tenant_id) && !is_hidden_sys) {
if (!is_virtual_tenant_id(tenant_id) && !is_hidden_sys) {
GCTX.log_block_mgr_->abort_create_tenant(log_disk_size);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册