v.22.10Improvement

ClickHouse Fixes Stale DNS Entry Caching Issue

ClickHouse could cache stale DNS entries for some period of time (15 seconds by default) until the cache won't be updated asynchronously. During these periods ClickHouse can nevertheless try to establish a connection and produce errors. This behavior is fixed. #41707 (Nikita Mikhaylov).
ClickHouse fixes the issue where stale DNS entries were cached for a default of 15 seconds, which could lead to connection errors while the cache updated asynchronously.

Why it matters

Previously, ClickHouse could attempt to establish connections using outdated DNS cache entries, resulting in errors during the cache refresh period. This update resolves that problem, improving connection reliability and reducing transient DNS-related errors.

How to use it

This fix is applied automatically in the new version of ClickHouse; users do not need to make any configuration changes to benefit from the improved DNS cache handling.