fix progress_checker may loop after finish & use same locality in RS major check

This commit is contained in:
yangqise7en
2023-11-13 13:39:23 +00:00
committed by ob-robot
parent 0e2f1802c0
commit 4a3cf27c64
7 changed files with 29 additions and 17 deletions

View File

@ -223,7 +223,7 @@ int ObTenantMediumChecker::check_medium_finish_schedule()
LOG_WARN("ObTenantMediumChecker is not inited", K(ret));
} else {
// refresh ls locality cache
if (OB_TMP_FAIL(ls_locality_cache_.refresh_ls_locality())) {
if (OB_TMP_FAIL(ls_locality_cache_.refresh_ls_locality(false /*force_refresh*/))) {
LOG_WARN("failed to refresh ls locality", K(tmp_ret));
ADD_COMMON_SUSPECT_INFO(MEDIUM_MERGE, share::ObDiagnoseTabletType::TYPE_MEDIUM_MERGE,
SUSPECT_FAILED_TO_REFRESH_LS_LOCALITY, tmp_ret);