From 47c352f8e783f31cfbe1f1aac0be4ebbd21abe82 Mon Sep 17 00:00:00 2001 From: yzang2019 Date: Tue, 10 Oct 2023 15:18:48 -0700 Subject: [PATCH] Fix flush --- changeset/export.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changeset/export.go b/changeset/export.go index fb01b3a..39c3a84 100644 --- a/changeset/export.go +++ b/changeset/export.go @@ -165,7 +165,7 @@ func collectChunksToSegment(outputFile string, chunkFiles []string) error { return err } - return writer.Flush() + return bufWriter.Flush() } // copyTmpFile append the compressed temporary file to writer