liutang123 commented on code in PR #39807:
URL: https://github.com/apache/doris/pull/39807#discussion_r1728598804


##########
fe/fe-core/src/main/java/org/apache/doris/catalog/OlapTable.java:
##########
@@ -148,6 +150,8 @@ public enum OlapTableState {
 
     private TableProperty tableProperty;
 
+    private volatile Statistics statistics = new Statistics();

Review Comment:
   When fe restarted, the `statistics` has not inited and the dataSize will be 
0. At this point, `createTable` behavior will not be restricted.
   Should we deal with this situation?



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to