This is an automated email from the ASF dual-hosted git repository.
w41ter pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new d1867fe9a4e [fix](backup) Fix compressed backup job (#43197)
d1867fe9a4e is described below
commit d1867fe9a4e92d7804f6b199f5a23829652c46bc
Author: walter <[email protected]>
AuthorDate: Mon Nov 4 16:20:06 2024 +0800
[fix](backup) Fix compressed backup job (#43197)
This was introduced in #42462
---
fe/fe-core/src/main/java/org/apache/doris/backup/BackupJob.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/backup/BackupJob.java
b/fe/fe-core/src/main/java/org/apache/doris/backup/BackupJob.java
index 4315ad8ee4c..821cea44ca7 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/backup/BackupJob.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/backup/BackupJob.java
@@ -1022,7 +1022,7 @@ public class BackupJob extends AbstractJob {
ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
try (GZIPOutputStream gzipStream = new
GZIPOutputStream(byteStream)) {
try (DataOutputStream stream = new
DataOutputStream(gzipStream)) {
- writeOthers(out);
+ writeOthers(stream);
written = stream.size();
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]