This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new a1d91427c61 branch-3.0: [fix](backup) Fix read compressed backup job
from old version #45343 (#45356)
a1d91427c61 is described below
commit a1d91427c6178f7dee862bc5b9d8ce80d5da25e3
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Dec 12 20:35:44 2024 +0800
branch-3.0: [fix](backup) Fix read compressed backup job from old version
#45343 (#45356)
Cherry-picked from #45343
Co-authored-by: walter <[email protected]>
---
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 d0a957dcd9a..d8008d91115 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
@@ -1121,7 +1121,7 @@ public class BackupJob extends AbstractJob implements
GsonPostProcessable {
ByteArrayInputStream byteStream = new
ByteArrayInputStream(text.getBytes());
try (GZIPInputStream gzipStream = new GZIPInputStream(byteStream))
{
try (DataInputStream stream = new DataInputStream(gzipStream))
{
- readOthers(in);
+ readOthers(stream);
}
}
} else {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]