We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a44f6a commit 5efb42bCopy full SHA for 5efb42b
bottomless/src/read.rs
@@ -1,7 +1,7 @@
1
use crate::replicator::CompressionKind;
2
use crate::wal::WalFrameHeader;
3
use anyhow::Result;
4
-use async_compression::tokio::bufread::{GzipDecoder, XzEncoder};
+use async_compression::tokio::bufread::{GzipDecoder, XzDecoder};
5
use aws_sdk_s3::primitives::ByteStream;
6
use std::io::ErrorKind;
7
use std::pin::Pin;
@@ -33,7 +33,7 @@ impl BatchReader {
33
Box::pin(gzip)
34
}
35
CompressionKind::Xz => {
36
- let xz = XzEncoder::new(reader);
+ let xz = XzDecoder::new(reader);
37
Box::pin(xz)
38
39
},
0 commit comments