v.25.7Improvement

Slightly better error handling in AsynchronousMetrics

Slightly better error handling in AsynchronousMetrics. If the /sys/block directory exists but is not accessible, the server will start without monitoring the block devices. Closes #79229. #83115 (Alexey Milovidov).
Improved error handling in AsynchronousMetrics when the /sys/block directory exists but is not accessible, allowing the server to start without block device monitoring.

Why it matters

This feature addresses the issue where ClickHouse would fail to start or encounter errors if the /sys/block directory is present but inaccessible. By improving error handling, the server can now continue starting and operate without monitoring block devices, enhancing stability and robustness in such environments.

How to use it

No explicit user action is required. The improved error handling is applied automatically when ClickHouse detects the /sys/block directory but cannot access it; the server will proceed without enabling block device monitoring.