v.21.2Improvements

Fixed PeekableReadBuffer Memory Limit Exceed Error for Huge Strings

Fixed PeekableReadBuffer: Memory limit exceed error when inserting data with huge strings. Fixes #18690. #18979 (tavplubix).
Fixed PeekableReadBuffer: Memory limit exceed error that occurred when inserting data containing very large strings.

Why it matters

This fix addresses the issue where inserting huge strings into ClickHouse would cause a memory limit exceed error in PeekableReadBuffer. It improves stability and reliability during data insertion involving large string values.

How to use it

The fix is applied internally; users do not need to change any settings. Simply upgrade to the version that includes this fix to avoid the memory limit exceed error during data insertion.