[FEAT MERGE] merge transfer

Co-authored-by: wxhwang <wxhwang@126.com>
Co-authored-by: godyangfight <godyangfight@gmail.com>
Co-authored-by: Tyshawn <tuyunshan@gmail.com>
This commit is contained in:
xuhuleon
2023-06-21 11:42:26 +00:00
committed by ob-robot
parent d06678002e
commit 9dae112952
1280 changed files with 149724 additions and 48813 deletions

View File

@ -20,7 +20,8 @@ ObRootServiceUtilChecker::ObRootServiceUtilChecker(volatile bool &stop)
: inited_(false),
stop_(stop),
migrate_unit_finish_checker_(stop),
alter_locality_finish_checker_(stop)
alter_locality_finish_checker_(stop),
shrink_resource_pool_checker_(stop)
{
}
@ -57,6 +58,9 @@ int ObRootServiceUtilChecker::init(
sql_proxy,
lst_operator))) {
LOG_WARN("fail to init alter locality finish checker", KR(ret));
} else if (OB_FAIL(shrink_resource_pool_checker_.init(&schema_service,
&unit_mgr, lst_operator, sql_proxy))) {
LOG_WARN("failed to init shrink resource pool", KR(ret));
} else {
inited_ = true;
}
@ -79,6 +83,10 @@ int ObRootServiceUtilChecker::rootservice_util_check()
if (OB_SUCCESS != (tmp_ret = alter_locality_finish_checker_.check())) {
LOG_WARN("fail to check alter locality finish", KR(tmp_ret));
}
if (OB_TMP_FAIL(shrink_resource_pool_checker_.check())) {
LOG_WARN("failed to check shrink resource pool", KR(tmp_ret));
}
}
return ret;
}