提交 d225c701 编写于 作者: J JiahuaChen 提交者: wangzelin.wzl

[CP] Fix core when partition service stopped

上级 d1636b90
......@@ -2297,6 +2297,8 @@ int ObPartitionService::create_batch_partition_groups(
tmp_ret = remove_pg_from_mgr(rb_pg, true/*write_slog*/);
if (OB_SUCCESS == tmp_ret) {
// partition object was released by partition service, do nothing
} else if (OB_NOT_RUNNING == tmp_ret) {
// partition service was stopped, ignore
} else {
STORAGE_LOG(ERROR, "fail to rollback pg", K(tmp_ret), K(rb_pkey), K(rb_pg));
ob_abort();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册