morrySnow commented on code in PR #49875: URL: https://github.com/apache/doris/pull/49875#discussion_r2035198528
########## fe/fe-core/src/main/java/org/apache/doris/catalog/MTMV.java: ########## @@ -517,6 +523,16 @@ public void readFields(DataInput in) throws IOException { if (refreshSnapshot == null) { refreshSnapshot = new MTMVRefreshSnapshot(); } + try { + Optional<String> errMsg = compatibleInternal(Env.getCurrentEnv().getCatalogMgr()); + if (errMsg.isPresent()) { + LOG.info("MTMV compatible failed, dbName: {}, mvName: {}, errMsg: {}", getQualifiedDbName(), name, + errMsg.get()); + } + } catch (Throwable t) { + LOG.info("MTMV compatible failed, dbName: {}, mvName: {}, errMsg: {}", getQualifiedDbName(), name, Review Comment: should be warning? -- 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