v.20.1Improvement

Improved Compatibility for getrandom in Older Kernels

Now we always use POSIX implementation of getrandom to have better compatibility with old kernels (< 3.17). #7940 (Amos Bird)
ClickHouse now always uses the POSIX implementation of getrandom system call to improve compatibility with older Linux kernels, specifically those older than version 3.17.

Why it matters

The motivation behind this change is to ensure better compatibility and stability when running ClickHouse on older Linux kernel versions that do not fully support newer getrandom implementations. This prevents potential issues related to randomness generation on such systems.

How to use it

This feature is applied internally within ClickHouse and requires no specific user action. Users running ClickHouse on older kernels will automatically benefit from improved compatibility without configuration changes.