From d9e0c3a184461bbcf53ab5e51cf937d7eac7073b Mon Sep 17 00:00:00 2001 From: wxhwang Date: Wed, 1 Nov 2023 12:09:45 +0000 Subject: [PATCH] update limit type when create tablets --- src/storage/high_availability/ob_ls_restore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/high_availability/ob_ls_restore.cpp b/src/storage/high_availability/ob_ls_restore.cpp index 283019edcf..0ba5fc4620 100644 --- a/src/storage/high_availability/ob_ls_restore.cpp +++ b/src/storage/high_availability/ob_ls_restore.cpp @@ -984,7 +984,7 @@ int ObStartLSRestoreTask::create_tablet_( if (!tablet_meta.is_valid() || OB_ISNULL(ls)) { ret = OB_INVALID_ARGUMENT; LOG_WARN("create tablet get invalid argument", K(ret), K(tablet_meta), KP(ls)); - } else if (OB_FAIL(ObTabletCreateMdsHelper::check_create_new_tablets(1LL))) { + } else if (OB_FAIL(ObTabletCreateMdsHelper::check_create_new_tablets(1LL, true/*is_soft_limit*/))) { LOG_WARN("failed to check create new tablet", K(ret), K(tablet_meta)); } else if (OB_FAIL(ls->rebuild_create_tablet(tablet_meta, false /*keep old*/))) { LOG_WARN("failed to create tablet", K(ret), K(tablet_meta));