This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push: new a7416f6ff95 [fix](dump) do not report success if dumping fails (#37510) a7416f6ff95 is described below commit a7416f6ff9565d6fea214e314313a15fdd5fa6e5 Author: Yongqiang YANG <98214048+dataroar...@users.noreply.github.com> AuthorDate: Wed Jul 10 16:26:14 2024 +0800 [fix](dump) do not report success if dumping fails (#37510) ## Proposed changes pick https://github.com/apache/doris/pull/37508 Issue Number: close #xxx <!--Describe your changes.--> --- fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java | 1 + 1 file changed, 1 insertion(+) diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java index e1413212fa6..ea8ffd91d2e 100755 --- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java +++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java @@ -5400,6 +5400,7 @@ public class Env { saveImage(dumpFile, journalId); } catch (IOException e) { LOG.error("failed to dump image to {}", dumpFilePath, e); + return null; } } finally { // unlock all --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org