add config enable_transfer

This commit is contained in:
ZhenNan0
2023-08-25 04:10:28 +00:00
committed by ob-robot
parent 5cfc4e7073
commit dd7ef78699
10 changed files with 59 additions and 42 deletions

View File

@ -93,6 +93,9 @@ void ObCommonLSService::do_work()
LOG_WARN("failed to create ls", KR(ret), KR(tmp_ret), K(user_tenant_schema));
}
if (OB_SUCC(ret) && !user_tenant_schema.is_dropping()) {
if (OB_TMP_FAIL(ObBalanceLSPrimaryZone::try_adjust_user_ls_primary_zone(user_tenant_schema))) {
LOG_WARN("failed to adjust user tenant primary zone", KR(ret), KR(tmp_ret), K(user_tenant_schema));
}
if (OB_TMP_FAIL(try_modify_ls_unit_group_(user_tenant_schema))) {
LOG_WARN("failed to modify ls unit group", KR(ret), KR(tmp_ret), K(user_tenant_schema));
}