v.23.7Experimental Feature
Allow Custom Disk Naming for Disks in ClickHouse
Allow to add disk name for custom disks. Previously custom disks would use an internal generated disk name. Now it will be possible withdisk = disk_<name>(...)(e.g. disk will have namename) . #51552 (Kseniia Sumarokova). This syntax can be changed in this release.
Why it matters
Previously, custom disks in ClickHouse would automatically receive internally generated disk names, which could cause confusion or lack of clarity in disk management. This feature solves that problem by enabling users to explicitly assign meaningful and recognizable names to custom disks, improving configuration clarity and maintainability.How to use it
When defining a custom disk, specify the disk name using the syntaxdisk = disk_<name>(...). For example, defining a custom disk with disk = disk_example(...) will assign the name example to the disk. This syntax is enabled in this release and may be subject to change.