Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions history/latest/3302.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- **[client-v2]** Fixed `INSERT` failing with `LZ4Exception: maxDestLen is too small` (LZ4) or
`ZstdException: Destination buffer is too small` (ZSTD) when request compression is enabled
(`compressClientRequest(true)`) and a 64 KiB block of the data does not compress, for example random bytes. The
compressed output buffer was as large as the uncompressed block, but such a block grows when it is compressed. The
buffer is now sized with the worst-case bound of the codec (`LZ4Compressor.maxCompressedLength`,
`Zstd.compressBound`). The bug was introduced in 0.11.0. (https://github.com/ClickHouse/clickhouse-java/issues/3302)
Loading