v.21.1Improvements

Switch to Patched RocksDB Version to Fix Use-After-Free Error

Switch to patched version of RocksDB (from ClickHouse-Extras) to fix use-after-free error. #17643 (Nikita Mikhaylov).
ClickHouse now uses a patched version of RocksDB from the ClickHouse-Extras repository that resolves a use-after-free error.

Why it matters

This update addresses a critical stability issue in RocksDB, a storage engine used by ClickHouse, by fixing a use-after-free error that could cause crashes or data corruption. Applying this patch improves the reliability and robustness of ClickHouse deployments that rely on RocksDB.

How to use it

The patched RocksDB version is integrated into ClickHouse by default starting from this release. Users simply need to upgrade to the new ClickHouse version to benefit from the fix without requiring any manual intervention.