Skip to content

Commit

Permalink
[chore](backup) Log create restore job failed (#38267)
Browse files Browse the repository at this point in the history
  • Loading branch information
w41ter authored Jul 24, 2024
1 parent 5545532 commit 8735639
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 8735639

Please sign in to comment.