Ignore table not exist when releasing snapshot

This commit is contained in:
Hongqin-Li
2022-11-23 09:05:58 +00:00
committed by wangzelin.wzl
parent 3ef3fad8a3
commit 68d8b9d4d3

View File

@ -650,8 +650,7 @@ int ObConstraintTask::release_snapshot(const int64_t snapshot_version)
} else if (OB_FAIL(schema_guard.get_table_schema(tenant_id_, object_id_, table_schema))) {
LOG_WARN("get table schema failed", K(ret), K(object_id_));
} else if (OB_ISNULL(table_schema)) {
ret = OB_TABLE_NOT_EXIST;
LOG_WARN("table not exist", K(ret), K(object_id_), K(target_object_id_), KP(table_schema));
LOG_INFO("table not exist", K(ret), K(object_id_), K(target_object_id_));
} else if (OB_FAIL(ObDDLUtil::get_tablets(tenant_id_, object_id_, tablet_ids))) {
if (OB_TABLE_NOT_EXIST == ret) {
ret = OB_SUCCESS;