mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-24 18:40:38 +00:00
Following Nadav's discovery of the problem with large writes to output stream, it turns out that compressed_file_output_stream also needs the option trim_to_ size enabled. Otherwise, a write to compressed_file_output_stream larger than _size would result in a buffer larger than chunk size being flushed, which is definitely wrong. Signed-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com> Reviewed-by: Nadav Har'El <nyh@cloudius-systems.com>