From 8735639214a30a38ad2d7ad4746bc46f5fc65cc5 Mon Sep 17 00:00:00 2001 From: walter Date: Wed, 24 Jul 2024 17:15:15 +0800 Subject: [PATCH] [chore](backup) Log create restore job failed (#38267) --- .../src/main/java/org/apache/doris/backup/BackupHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java b/fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java index 02af379eb2ed55..8ad885d9bd6331 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java +++ b/fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java @@ -525,7 +525,8 @@ private void restore(Repository repository, Database db, RestoreStmt stmt) throw stmt.reserveDynamicPartitionEnable(), stmt.isBeingSynced(), env, Repository.KEEP_ON_LOCAL_REPO_ID, backupMeta); } catch (IOException e) { - throw new DdlException(e.getMessage()); + LOG.warn("create restore job failed, current meta version {}", Env.getCurrentEnvJournalVersion(), e); + throw new DdlException("create restore job failed", e); } } else { restoreJob = new RestoreJob(stmt.getLabel(), stmt.getBackupTimestamp(),