mymeiyi commented on code in PR #30956: URL: https://github.com/apache/doris/pull/30956#discussion_r1494080560
########## fe/fe-core/src/main/java/org/apache/doris/alter/MaterializedViewHandler.java: ########## @@ -1164,6 +1173,7 @@ private void onJobDone(AlterJobV2 alterJob) { changeTableStatus(alterJob.getDbId(), alterJob.getTableId(), OlapTableState.NORMAL); LOG.info("set table's state to NORMAL, table id: {}, job id: {}", alterJob.getTableId(), alterJob.getJobId()); + Env.getCurrentEnv().getGroupCommitManager().unblockTable(alterJob.getTableId()); Review Comment: The `unblockTable` should be called before `changeTableStatus` to avoid concurrency problem -- 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