v.23.10Improvement

Print Path for Broken Disk Parts Before Server Shutdown

Print path for broken parts on disk before shutting down the server. Before this change if a part is corrupted on disk and server cannot start, it was almost impossible to understand which part is broken. This is fixed. #56181 (Duc Canh Le).
ClickHouse now prints the file path of corrupted parts on disk before shutting down the server when a broken part prevents the server from starting.

Why it matters

Previously, when a part on disk was corrupted and caused the server to fail at startup, it was very difficult to identify the problematic part. This feature addresses that issue by clearly identifying and printing the path of the broken part, simplifying troubleshooting and maintenance.

How to use it

This behavior is automatic; when the server detects a corrupted part on startup, it will log the path of that part before shutting down, requiring no manual configuration.