mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
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.
27 lines
884 B
XML
27 lines
884 B
XML
<datastore>
|
|
<remote_servers>
|
|
<cluster_simple>
|
|
<shard>
|
|
<replica>
|
|
<host>node1</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
<replica>
|
|
<host>node2</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
</shard>
|
|
</cluster_simple>
|
|
</remote_servers>
|
|
<query_log>
|
|
<database>system</database>
|
|
<table>query_log</table>
|
|
<partition_by>toYYYYMM(event_date)</partition_by>
|
|
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
|
<max_size_rows>1048576</max_size_rows>
|
|
<reserved_size_rows>8192</reserved_size_rows>
|
|
<buffer_size_rows_flush_threshold>524288</buffer_size_rows_flush_threshold>
|
|
<flush_on_crash>false</flush_on_crash>
|
|
</query_log>
|
|
</datastore>
|