[CP] allow migration uses 1g3w tablets to avoid failing some balance jobs

This commit is contained in:
obdev 2023-10-23 08:40:01 +00:00 committed by ob-robot
parent 4399314332
commit 6595c5a9ea

View File

@ -537,7 +537,7 @@ int ObStorageHATabletsBuilder::create_or_update_tablet_(
} else if (ObCopyTabletStatus::TABLET_NOT_EXIST == tablet_info.status_ && tablet_info.tablet_id_.is_ls_inner_tablet()) {
ret = OB_TABLET_NOT_EXIST;
LOG_WARN("src ls inner tablet is not exist, src ls is maybe deleted", K(ret), K(tablet_info));
} else if (need_check_tablet_limit && OB_FAIL(ObTabletCreateMdsHelper::check_create_new_tablets(1LL))) {
} else if (need_check_tablet_limit && OB_FAIL(ObTabletCreateMdsHelper::check_create_new_tablets(1LL, true/*is_soft_limit*/))) {
if (OB_TOO_MANY_PARTITIONS_ERROR == ret) {
LOG_ERROR("too many partitions, failed to check create new tablet", K(ret), K(tablet_info));
} else {