[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.-->
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user