fix medium defense & fix not schedule in standby cluster

This commit is contained in:
yangqise7en
2023-07-11 20:42:45 +00:00
committed by ob-robot
parent 976456c113
commit 6510ee3da8
13 changed files with 108 additions and 59 deletions

View File

@ -711,6 +711,7 @@ int ObMediumCompactionScheduleFunc::prepare_medium_info(
ObTablet *tablet = nullptr;
ObTableStoreIterator table_iter;
medium_info.cluster_id_ = GCONF.cluster_id;
medium_info.tenant_id_ = MTL_ID();
// get table schema
if (OB_UNLIKELY(!tablet_handle_.is_valid())) {
ret = OB_ERR_UNEXPECTED;