This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 4f57f69bf35 [fix](auto-partition) Fix concurrent load same value of
auto partition #31107
4f57f69bf35 is described below
commit 4f57f69bf35c6648250f9d4b60ffa944cae2249d
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 78eb936e4d2..fc275b2606d 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
@@ -3275,7 +3275,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]