[bugfix] rs_event ‘alter_resource_unit’ incorrect info

This commit is contained in:
LeonChaoHi 2023-12-22 17:22:40 +00:00 committed by ob-robot
parent 28955179d7
commit 9a2877c1c7

View File

@ -518,7 +518,7 @@ int ObUnitManager::alter_unit_config(const ObUnitConfig &unit_config)
} else {
// copy unit resource
ObUnitResource new_ur = old_config->unit_resource();
const ObUnitResource &old_ur = old_config->unit_resource();
const ObUnitResource old_ur = old_config->unit_resource();
// update based on user specified
if (OB_FAIL(new_ur.update_and_check_valid_for_unit(rpc_ur))) {