This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push: new 6c23f8d [Bug] Fix bug that check point load image failed in some circumstance (#6465) 6c23f8d is described below commit 6c23f8d4138ad3af46f5b19618d732d78114e8d6 Author: xy720 <22125576+xy...@users.noreply.github.com> AuthorDate: Thu Aug 19 14:17:57 2021 +0800 [Bug] Fix bug that check point load image failed in some circumstance (#6465) Fix bug that check point load image failed in some circumstance --- fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java index 840a109..e5de7b9 100755 --- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java +++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java @@ -6345,8 +6345,8 @@ public class Catalog { InfoSchemaDb db; // Use real Catalog instance to avoid InfoSchemaDb id continuously increment // when checkpoint thread load image. - if (Catalog.getCurrentCatalog().getFullNameToDb().containsKey(dbName)) { - db = (InfoSchemaDb)Catalog.getCurrentCatalog().getFullNameToDb().get(dbName); + if (Catalog.getServingCatalog().getFullNameToDb().containsKey(dbName)) { + db = (InfoSchemaDb)Catalog.getServingCatalog().getFullNameToDb().get(dbName); } else { db = new InfoSchemaDb(cluster.getName()); db.setClusterName(cluster.getName()); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org