v.18.16Improvement

Added tcp_keep_alive_timeout Option for Inactivity Keep-Alive Packets

Added the tcp_keep_alive_timeout option to enable keep-alive packets after inactivity for the specified time interval. #3441
Added the tcp_keep_alive_timeout option to enable TCP keep-alive packets after a specified period of inactivity.

Why it matters

This feature addresses the problem of detecting dead or inactive TCP connections by sending keep-alive packets after the connection has been idle for a configured time interval. It helps maintain connection stability and ensures timely detection of broken connections, improving network reliability for ClickHouse users.

How to use it

To use this feature, set the tcp_keep_alive_timeout option in the ClickHouse server configuration or client settings to specify the inactivity timeout interval after which keep-alive packets should be sent over TCP connections.