stalary commented on code in PR #11656: URL: https://github.com/apache/doris/pull/11656#discussion_r943046094
########## fe/fe-core/src/main/java/org/apache/doris/datasource/DataSourceMgr.java: ########## @@ -95,6 +96,20 @@ private DataSourceIf removeCatalog(long catalogId) { return catalog; } + private void unprotectedRefreshCatalog(long catalogId) { + DataSourceIf catalog = idToCatalog.get(catalogId); + if (catalog != null) { + String catalogName = catalog.getName(); + if (!catalogName.equals(InternalDataSource.INTERNAL_DS_NAME)) { + ((ExternalDataSource) catalog).setInitialized(false); + } + catalog = nameToCatalog.get(catalogName); + ((ExternalDataSource) catalog).setInitialized(false); Review Comment: My fault. I'll fix it later. -- 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