Bug Fixes
- [client-v2] Fixed
INSERTfailing withLZ4Exception: 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. (#3302)