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

82 lines
2.9 KiB
XML

<datastore>
<local_disk_check_period_ms>30000</local_disk_check_period_ms>
<storage_configuration>
<disks>
<!-- local disks -->
<local_disk>
<type>object_storage</type>
<object_storage_type>local</object_storage_type>
<path>local_disk/</path>
</local_disk>
<local_disk_2>
<type>object_storage</type>
<object_storage_type>local_blob_storage</object_storage_type>
<path>local_disk_2/</path>
</local_disk_2>
<local_disk_3>
<type>local_blob_storage</type>
<path>local_disk_3/</path>
</local_disk_3>
<!-- cache for local disks -->
<local_cache>
<type>cache</type>
<disk>local_disk</disk>
<path>local_cache/</path>
<max_size>22548578304</max_size>
<cache_policy>LRU</cache_policy>
<cache_on_write_operations>1</cache_on_write_operations>
</local_cache>
<local_cache_2>
<type>cache</type>
<disk>local_disk</disk>
<path>local_cache_2/</path>
<max_size>22548578304</max_size>
</local_cache_2>
<local_cache_3>
<type>cache</type>
<disk>local_disk_3</disk>
<path>local_cache_3/</path>
<max_size>22548578304</max_size>
<cache_on_write_operations>1</cache_on_write_operations>
</local_cache_3>
<local_plain_rewritable>
<type>object_storage</type>
<object_storage_type>local</object_storage_type>
<path>disks/test/local_plain_rewritable/</path>
<metadata_type>plain_rewritable</metadata_type>
</local_plain_rewritable>
<!-- multi layer cache -->
<local_cache_multi>
<type>cache</type>
<disk>local_cache</disk>
<path>local_cache_multi/</path>
<max_size>22548578304</max_size>
</local_cache_multi>
</disks>
<policies>
<local_cache>
<volumes>
<main>
<disk>local_cache</disk>
</main>
</volumes>
</local_cache>
<local_cache_2>
<volumes>
<main>
<disk>local_cache_2</disk>
</main>
</volumes>
</local_cache_2>
<local_cache_3>
<volumes>
<main>
<disk>local_cache_3</disk>
</main>
</volumes>
</local_cache_3>
</policies>
</storage_configuration>
</datastore>