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.
53 lines
1.5 KiB
XML
53 lines
1.5 KiB
XML
<datastore>
|
|
<default_replica_path>/clickhouse/tables/{database}/{table}</default_replica_path>
|
|
<default_replica_name>{replica}</default_replica_name>
|
|
|
|
<macros>
|
|
<replica>{replica_name}</replica>
|
|
</macros>
|
|
|
|
<logger>
|
|
<level>information</level>
|
|
<log>/var/log/clickhouse-keeper/clickhouse-keeper.log</log>
|
|
<errorlog>/var/log/clickhouse-keeper/clickhouse-keeper.err.log</errorlog>
|
|
<size>never</size>
|
|
</logger>
|
|
|
|
<zookeeper>
|
|
<node>
|
|
<host>{keeper}</host>
|
|
<port>9181</port>
|
|
</node>
|
|
</zookeeper>
|
|
|
|
<remote_servers>
|
|
<test_cluster>
|
|
<shard>
|
|
<replica>
|
|
<host>{server1}</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
<replica>
|
|
<host>{server2}</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
<replica>
|
|
<host>{server3}</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
</shard>
|
|
</test_cluster>
|
|
</remote_servers>
|
|
|
|
<interserver_http_port>9009</interserver_http_port>
|
|
|
|
<distributed_ddl>
|
|
<path>/clickhouse/task_queue/ddl</path>
|
|
<profile>default</profile>
|
|
<pool_size>1</pool_size>
|
|
<task_max_lifetime>604800</task_max_lifetime>
|
|
<cleanup_delay_period>60</cleanup_delay_period>
|
|
<max_tasks_in_queue>1000</max_tasks_in_queue>
|
|
</distributed_ddl>
|
|
</datastore>
|