From a82196d81a17565d42dc10a3149c61c3712d91d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arpad=20M=C3=BCller?= Date: Fri, 14 Jun 2024 13:58:45 +0200 Subject: [PATCH] Shutdown instead of flush --- pageserver/src/tenant/blob_io.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageserver/src/tenant/blob_io.rs b/pageserver/src/tenant/blob_io.rs index 5dd1371b285b6..534bdf6f7c5d3 100644 --- a/pageserver/src/tenant/blob_io.rs +++ b/pageserver/src/tenant/blob_io.rs @@ -322,7 +322,7 @@ impl BlobWriter { }; 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;