v.23.11Improvement

LZ4 Compression Enhancements for Buffer Management

LZ4 compression. Buffer compressed block in a rare case when out buffer capacity is not enough for writing compressed block directly to out's buffer. #56938 (Sema Checherinda).
Added a buffer for LZ4 compressed blocks to handle rare cases when the output buffer capacity is insufficient for direct compression writing.

Why it matters

This feature addresses the issue where the output buffer does not have enough capacity to write a compressed block directly, ensuring reliable compression without data loss or errors during the compression process.

How to use it

This feature is applied internally during LZ4 compression when needed; no user action or configuration is required to enable it.