Jibing-Li commented on code in PR #20009: URL: https://github.com/apache/doris/pull/20009#discussion_r1205066065
########## fe/fe-core/src/main/java/org/apache/doris/datasource/ExternalCatalog.java: ########## @@ -479,6 +480,37 @@ public void gsonPostProcess() throws IOException { if (this instanceof HMSExternalCatalog) { ((HMSExternalCatalog) this).setLastSyncedEventId(-1L); } + // TODO: This code is to compatible with older version of metadata. + // Could only remove after all users upgrate to the new version. + if (logType == null) { + if (type == null) { + logType = InitCatalogLog.Type.UNKNOWN; + } else { + switch (type) { Review Comment: updated -- 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