morningman commented on code in PR #25450:
URL: https://github.com/apache/doris/pull/25450#discussion_r1360059519


##########
fe/fe-core/src/main/java/org/apache/doris/persist/meta/MetaReader.java:
##########
@@ -110,8 +111,17 @@ public static void read(File imageFile, Env env) throws 
IOException, DdlExceptio
                 }
                 MetaPersistMethod persistMethod = 
PersistMetaModules.MODULES_MAP.get(metaIndex.name);
                 if (persistMethod == null) {
-                    throw new IOException("Unknown meta module: " + 
metaIndex.name + ". Known modules: "
-                            + PersistMetaModules.MODULE_NAMES);
+                    if (Config.ignore_unknown_metadata_module) {
+                        LOG.warn("meta modules {} is unknown, ignore and skip 
it");

Review Comment:
   fixed



-- 
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