This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 3f9b597b6bceb6e4a422b46ff0d8cdea6ec140c2 Author: zclllyybb <[email protected]> AuthorDate: Mon Feb 19 18:32:53 2024 +0800 [fix](auto-partition) Fix concurrent load same value of auto partition #31107 --- .../src/main/java/org/apache/doris/service/FrontendServiceImpl.java | 1 - 1 file changed, 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/service/FrontendServiceImpl.java b/fe/fe-core/src/main/java/org/apache/doris/service/FrontendServiceImpl.java index 7b970605dc8..c6096adf0b2 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/service/FrontendServiceImpl.java +++ b/fe/fe-core/src/main/java/org/apache/doris/service/FrontendServiceImpl.java @@ -3270,7 +3270,6 @@ public class FrontendServiceImpl implements FrontendService.Iface { // check partition's number limit. int partitionNum = olapTable.getPartitionNum() + addPartitionClauseMap.size(); if (partitionNum > Config.max_auto_partition_num) { - olapTable.writeUnlock(); String errorMessage = String.format( "create partition failed. partition numbers %d will exceed limit variable " + "max_auto_partition_num %d", --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
