Skip to content

Commit

Permalink
[fix](dump) do not report success if dumping fails
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed Jul 9, 2024
1 parent 84fcb73 commit 4b0adc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java
Original file line number Diff line number Diff line change
Expand Up @@ -5560,6 +5560,7 @@ public String dumpImage() {
saveImage(dumpFile, journalId);
} catch (IOException e) {
LOG.error("failed to dump image to {}", dumpFilePath, e);
return null;
}
} finally {
// unlock all
Expand Down

0 comments on commit 4b0adc8

Please sign in to comment.