v.23.5Improvement

Allow Reading Zero-Size Objects from Remote Filesystems

Allow reading zero-size objects from remote filesystems. (because empty files are not backup'd, so we might end up with zero blobs in metadata file). Closes #49480. #49519 (Kseniia Sumarokova).
ClickHouse now supports reading zero-size (empty) objects from remote filesystems during data operations.

Why it matters

This feature addresses the issue where empty files are not backed up, causing metadata files to reference zero blobs that could not be read. Allowing reading of zero-size objects ensures consistent data handling and integrity when working with remote storage, especially for backup and restore procedures.

How to use it

No special configuration is required. The system automatically supports reading zero-size files from remote filesystems, improving reliability in existing backup and remote data operations.