From 6595c5a9ea9347a7070f5f507103f1bbefcaf0e6 Mon Sep 17 00:00:00 2001 From: obdev Date: Mon, 23 Oct 2023 08:40:01 +0000 Subject: [PATCH] [CP] allow migration uses 1g3w tablets to avoid failing some balance jobs --- src/storage/high_availability/ob_storage_ha_tablet_builder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/high_availability/ob_storage_ha_tablet_builder.cpp b/src/storage/high_availability/ob_storage_ha_tablet_builder.cpp index 2a9d5fc5a..d37fae342 100755 --- a/src/storage/high_availability/ob_storage_ha_tablet_builder.cpp +++ b/src/storage/high_availability/ob_storage_ha_tablet_builder.cpp @@ -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 {