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.
54 lines
1.7 KiB
XML
54 lines
1.7 KiB
XML
<datastore>
|
|
<listen_try>true</listen_try>
|
|
<listen_host>::</listen_host>
|
|
<listen_host>0.0.0.0</listen_host>
|
|
|
|
<logger>
|
|
<level>trace</level>
|
|
<log>/var/log/clickhouse-keeper/clickhouse-keeper.log</log>
|
|
<errorlog>/var/log/clickhouse-keeper/clickhouse-keeper.err.log</errorlog>
|
|
</logger>
|
|
|
|
<placement>
|
|
<use_imds>0</use_imds>
|
|
<availability_zone>az-zoo1</availability_zone>
|
|
</placement>
|
|
|
|
<keeper_server>
|
|
<tcp_port>2181</tcp_port>
|
|
<server_id>1</server_id>
|
|
|
|
<digest_enabled>1</digest_enabled>
|
|
<coordination_settings>
|
|
<operation_timeout_ms>10000</operation_timeout_ms>
|
|
<session_timeout_ms>15000</session_timeout_ms>
|
|
<raft_logs_level>trace</raft_logs_level>
|
|
<force_sync>false</force_sync>
|
|
<election_timeout_lower_bound_ms>2000</election_timeout_lower_bound_ms>
|
|
<election_timeout_upper_bound_ms>4000</election_timeout_upper_bound_ms>
|
|
|
|
<async_replication>1</async_replication>
|
|
<use_xid_64>1</use_xid_64>
|
|
<max_request_size>10000000</max_request_size>
|
|
</coordination_settings>
|
|
|
|
<raft_configuration>
|
|
<server>
|
|
<id>1</id>
|
|
<hostname>zoo1</hostname>
|
|
<port>9444</port>
|
|
</server>
|
|
<server>
|
|
<id>2</id>
|
|
<hostname>zoo2</hostname>
|
|
<port>9444</port>
|
|
</server>
|
|
<server>
|
|
<id>3</id>
|
|
<hostname>zoo3</hostname>
|
|
<port>9444</port>
|
|
</server>
|
|
</raft_configuration>
|
|
</keeper_server>
|
|
</datastore>
|