Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 committed Sep 26, 2024
1 parent f29ca91 commit c32065e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/value_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,9 +528,10 @@ impl<C: Compressor + Clone> ValueLog<C> {
.map(|x| x.scan())
.collect::<crate::Result<Vec<_>>>()?;

// IMPORTANT: We purposefully don't use compression
// to just pipe the compressed value directly to the new blob file
// without having to pay (de)compression costs
// TODO: 2.0.0: Store uncompressed size per blob
// so we can avoid recompression costs during GC
// but have stats be correct

let reader = MergeReader::new(
readers
.into_iter()
Expand Down

0 comments on commit c32065e

Please sign in to comment.