v.25.7Improvement

Now plain_rewritable disks are allowed as disks

Now plain_rewritable disks are allowed as disks for database metadata. Implement methods moveFile and replaceFile in plain_rewritable to support it as a database disk. #79424 (Tuan Pham Anh).
Support for using plain_rewritable disks as storage for database metadata by implementing moveFile and replaceFile methods.

Why it matters

This feature enables plain_rewritable disks to be used for storing database metadata, expanding the flexibility of storage options. By adding support for moveFile and replaceFile operations on these disks, it ensures proper management and manipulation of metadata files, improving system robustness and usability.

How to use it

To use this feature, configure your ClickHouse database to store metadata on a plain_rewritable disk. The system now supports the required file operations, so no additional user action is required beyond specifying the disk type for metadata storage.