Skip to content

Commit

Permalink
feat: ignore not found during compaction
Browse files Browse the repository at this point in the history
  • Loading branch information
evenyag committed Nov 14, 2023
1 parent 498cb8b commit a415bb5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mito2/src/compaction/output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ async fn build_sst_reader(
) -> error::Result<BoxedBatchReader> {
SeqScan::new(sst_layer, ProjectionMapper::all(&schema)?)
.with_files(inputs.to_vec())
// We ignore file not found error during compaction.
.with_ignore_file_not_found(true)
.build_reader()
.await
}

0 comments on commit a415bb5

Please sign in to comment.