From 68d8b9d4d37ff3d20b6c405dbaf7d36110f30800 Mon Sep 17 00:00:00 2001 From: Hongqin-Li Date: Wed, 23 Nov 2022 09:05:58 +0000 Subject: [PATCH] Ignore table not exist when releasing snapshot --- src/rootserver/ddl_task/ob_constraint_task.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rootserver/ddl_task/ob_constraint_task.cpp b/src/rootserver/ddl_task/ob_constraint_task.cpp index 8632a19db0..fb3858d145 100644 --- a/src/rootserver/ddl_task/ob_constraint_task.cpp +++ b/src/rootserver/ddl_task/ob_constraint_task.cpp @@ -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;