czy006 commented on code in PR #3811:
URL: https://github.com/apache/amoro/pull/3811#discussion_r2419711741
##########
amoro-ams/src/main/java/org/apache/amoro/server/table/DefaultTableService.java:
##########
@@ -182,6 +182,13 @@ public void initialize() {
continue;
}
List<TableRuntimeState> states =
statesMap.get(tableRuntimeMeta.getTableId());
+ // if first time states will be null can't be initial table runtime
+ if (states == null) {
+ TableRuntimeState state = new TableRuntimeState();
Review Comment:
When we persist tableuntime for the first time, do we need to set
OptimizingStatus to IDLE by default? Or will the subsequent optimization
triggers automatically supplement this status cc @baiyangtx @zhoujinsong
--
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]