Remain schema status cache when drop tenant

This commit is contained in:
tino247
2023-06-02 06:18:03 +00:00
committed by ob-robot
parent bf02211328
commit bed442c329

View File

@ -393,11 +393,6 @@ int ObSchemaStatusProxy::del_tenant_schema_status(
}
}
}
if (OB_SUCC(ret)) {
if (OB_FAIL(schema_status_cache_.erase_refactored(tenant_id))) {
LOG_WARN("fail to erase schema_status", K(ret), K(tenant_id));
}
}
LOG_INFO("[SCHEMA_STATUS] del schema status", K(ret), K(tenant_id));
return ret;
}