fix idempotence of offline ddl when drop tenant simulatenously.
This commit is contained in:
@ -652,7 +652,7 @@ int ObConstraintTask::release_snapshot(const int64_t snapshot_version)
|
||||
} else if (OB_ISNULL(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) {
|
||||
if (OB_TABLE_NOT_EXIST == ret || OB_TENANT_NOT_EXIST == ret) {
|
||||
ret = OB_SUCCESS;
|
||||
} else {
|
||||
LOG_WARN("failed to get tablet snapshots", K(ret));
|
||||
|
||||
Reference in New Issue
Block a user