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.
52 lines
1.6 KiB
XML
52 lines
1.6 KiB
XML
<datastore>
|
|
<!-- Hanzo Datastore Configuration -->
|
|
|
|
<!-- Memory limits -->
|
|
<max_memory_usage>10000000000</max_memory_usage>
|
|
<max_bytes_before_external_group_by>5000000000</max_bytes_before_external_group_by>
|
|
|
|
<!-- Aggregation optimization -->
|
|
<distributed_aggregation_memory_efficient>1</distributed_aggregation_memory_efficient>
|
|
|
|
<!-- Query settings -->
|
|
<max_execution_time>300</max_execution_time>
|
|
<max_threads>8</max_threads>
|
|
|
|
<!-- Background processing -->
|
|
<background_pool_size>16</background_pool_size>
|
|
<background_schedule_pool_size>16</background_schedule_pool_size>
|
|
|
|
<!-- Compression -->
|
|
<compression>
|
|
<case>
|
|
<min_part_size>10000000000</min_part_size>
|
|
<min_part_size_ratio>0.01</min_part_size_ratio>
|
|
<method>zstd</method>
|
|
<level>3</level>
|
|
</case>
|
|
</compression>
|
|
|
|
<!-- Logging -->
|
|
<logger>
|
|
<level>information</level>
|
|
<log>/var/log/datastore-server/datastore-server.log</log>
|
|
<errorlog>/var/log/datastore-server/datastore-server.err.log</errorlog>
|
|
<size>1000M</size>
|
|
<count>10</count>
|
|
</logger>
|
|
|
|
<!-- HTTP interface settings -->
|
|
<http_server_default_response>
|
|
<![CDATA[<html><body>Hanzo Datastore - https://hanzo.ai</body></html>]]>
|
|
</http_server_default_response>
|
|
|
|
<!-- Prometheus metrics endpoint -->
|
|
<prometheus>
|
|
<endpoint>/metrics</endpoint>
|
|
<port>9363</port>
|
|
<metrics>true</metrics>
|
|
<events>true</events>
|
|
<asynchronous_metrics>true</asynchronous_metrics>
|
|
</prometheus>
|
|
</datastore>
|