fix error message when the auto split size is less than 128mb

This commit is contained in:
LYAccc 2024-11-12 15:17:38 +00:00 committed by ob-robot
parent 69b5a4b14d
commit 66f227b5d6

View File

@ -5087,8 +5087,9 @@ int ObPartitionOption::enable_auto_partition_(const int64_t auto_part_size)
int ret = OB_SUCCESS;
if (OB_UNLIKELY(auto_part_size < ObPartitionOption::MIN_AUTO_PART_SIZE)) {
ret = OB_INVALID_ARGUMENT;
LOG_WARN("the auto split tablet size is less than MIN_AUTO_PART_SIZE", KR(ret), K(auto_part_size));
ret = OB_NOT_SUPPORTED;
LOG_USER_WARN(OB_NOT_SUPPORTED, "auto partition size less than 128MB is");
LOG_WARN("auto partition size is less than MIN_AUTO_PART_SIZE", K(ret), K(auto_part_size));
} else {
auto_part_ = true;
auto_part_size_ = auto_part_size;