v.21.11Improvements

Fix Data Loss and Deserialization Bugs in ClickHouse Keeper Converter

clickhouse-keeper: Fix bug in clickhouse-keeper-converter which can lead to some data loss while restoring from ZooKeeper logs (not snapshot). #29030 (小路). Fix bug in clickhouse-keeper-converter which can lead to incorrect ZooKeeper log deserialization. #29071 (小路).
clickhouse-keeper: Fixed a bug in clickhouse-keeper-converter that could cause data loss during restoration from ZooKeeper logs (non-snapshot) due to incorrect log deserialization.

Why it matters

The fix addresses a critical issue where restoring data from ZooKeeper logs without snapshots could lead to data loss because of improper deserialization of the logs. This ensures reliable data restoration and integrity when migrating or recovering ZooKeeper data using clickhouse-keeper.

How to use it

Users should update to the fixed version of ClickHouse where the clickhouse-keeper-converter bug is resolved. No special configuration is required; normal restoration procedures from ZooKeeper logs can be safely performed without risk of data loss.