Files
zooqueen fce0ee72e1 datastore: fix XML config tag mismatch (</clickhouse> closing tags)
Runtime regression from the final lowercase pass: it renamed <clickhouse> opening tags to
<datastore> but the / exclusion (protecting /clickhouse paths) left </clickhouse> closing tags,
so embedded + shipped configs became <datastore>...</clickhouse> -> SAXParseException 'Tag
mismatch' at runtime (compile was fine; XML is data). Renamed all <clickhouse/</clickhouse XML
tags -> datastore (101 closes across configs, embedded strings, keeper configs). Path strings
(/var/lib/clickhouse) have no angle bracket and are untouched. Build compiled; this fixes runtime
config parsing.
2026-06-22 00:25:01 -07:00

47 lines
1.3 KiB
XML

<datastore>
<storage_configuration>
<disks>
<s3>
<type>s3</type>
<endpoint>http://minio1:9001/root/data/</endpoint>
<access_key_id>minio</access_key_id>
<secret_access_key>ClickHouse_Minio_P@ssw0rd</secret_access_key>
<s3_max_single_part_upload_size>33554432</s3_max_single_part_upload_size>
<metadata_path>/var/lib/clickhouse/disks/custom_path</metadata_path>
</s3>
<hdd_disk>
<type>local</type>
<path>/</path>
</hdd_disk>
</disks>
<policies>
<s3>
<volumes>
<main>
<disk>s3</disk>
</main>
</volumes>
</s3>
<hdd>
<volumes>
<main>
<disk>hdd_disk</disk>
</main>
</volumes>
</hdd>
</policies>
</storage_configuration>
<s3_retry_attempts>10</s3_retry_attempts>
<query_log>
<database>system</database>
<table>query_log</table>
<storage_policy>hdd</storage_policy>
</query_log>
<merge_tree>
<storage_policy>hdd</storage_policy>
</merge_tree>
</datastore>