Skip to content

Commit

Permalink
Shutdown instead of flush
Browse files Browse the repository at this point in the history
  • Loading branch information
arpad-m committed Jun 14, 2024
1 parent 9da0772 commit a82196d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pageserver/src/tenant/blob_io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ impl<const BUFFERED: bool> BlobWriter<BUFFERED> {
};
let slice = srcbuf.slice(..);
encoder.write_all(&slice[..]).await.unwrap();
encoder.flush().await.unwrap();
encoder.shutdown().await.unwrap();
let compressed = encoder.into_inner();
if compressed.len() < len {
let compressed_len = len;
Expand Down

0 comments on commit a82196d

Please sign in to comment.