v.25.8Improvement

Limit Keeper log entry cache size

Limit Keeper log entry cache size by number of entries using keeper_server.coordination_settings.latest_logs_cache_entry_count_threshold and keeper_server.coordination_settings.commit_logs_cache_entry_count_threshold. #84877 (Antonio Andelic).
Introduces configuration settings to limit the log entry cache size in Keeper by the number of entries.

Why it matters

This feature allows controlling the memory consumption of Keeper's log entry cache by setting thresholds on the number of cached log entries, preventing unbounded cache growth and improving resource management.

How to use it

Configure the parameters keeper_server.coordination_settings.latest_logs_cache_entry_count_threshold and keeper_server.coordination_settings.commit_logs_cache_entry_count_threshold in the ClickHouse server settings to set limits on the cached log entries for Keeper.