zclllyybb commented on code in PR #54638:
URL: https://github.com/apache/doris/pull/54638#discussion_r2277372929


##########
fe/fe-core/src/main/java/org/apache/doris/catalog/OlapTable.java:
##########
@@ -225,6 +226,10 @@ public enum OlapTableState {
 
     private volatile Statistics statistics = new Statistics();
 
+    // Transient map to coordinate concurrent partition creation tasks per 
partition name.
+    // Ensures only one creation task runs for a given partition at a time.
+    private ConcurrentHashMap<String, CompletableFuture<Void>> 
partitionCreationFutures = new ConcurrentHashMap<>();

Review Comment:
   验证了下,基于我们用的gson,只会序列化SerializedName注解过的字段,没有问题。



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to