v.23.12Improvement
Allow nodes with from_env/from_zk references and replace=1 in configuration file
Allow nodes in the configuration file withfrom_env/from_zkreference and non empty element with replace=1. #57628 (Azat Khuzhin).
Why it matters
This feature enables more flexible and dynamic configuration management by allowing configuration values to be sourced from environment variables or ZooKeeper. It also supports overriding configuration nodes cleanly via thereplace=1 attribute, improving configuration maintainability and adaptability in distributed or containerized environments.How to use it
In the ClickHouse configuration XML file, define nodes using thefrom_env or from_zk attributes to refer to environment variables or ZooKeeper paths respectively. To override an existing configuration node, ensure the node is non-empty and set replace="1" on the element that should replace it.