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.
45 lines
1.7 KiB
XML
45 lines
1.7 KiB
XML
<datastore>
|
|
<keeper_server>
|
|
<s3_snapshot>
|
|
<endpoint>http://minio1:9001/snapshots/</endpoint>
|
|
<access_key_id>minio</access_key_id>
|
|
<secret_access_key>ClickHouse_Minio_P@ssw0rd</secret_access_key>
|
|
</s3_snapshot>
|
|
<tcp_port>9181</tcp_port>
|
|
<server_id>2</server_id>
|
|
<log_storage_path>/var/lib/clickhouse/coordination/log</log_storage_path>
|
|
<snapshot_storage_path>/var/lib/clickhouse/coordination/snapshots</snapshot_storage_path>
|
|
<four_letter_word_white_list>*</four_letter_word_white_list>
|
|
|
|
<coordination_settings>
|
|
<operation_timeout_ms>5000</operation_timeout_ms>
|
|
<session_timeout_ms>10000</session_timeout_ms>
|
|
<min_session_timeout_ms>5000</min_session_timeout_ms>
|
|
<snapshot_distance>75</snapshot_distance>
|
|
<raft_logs_level>trace</raft_logs_level>
|
|
</coordination_settings>
|
|
|
|
<raft_configuration>
|
|
<server>
|
|
<id>1</id>
|
|
<hostname>node1</hostname>
|
|
<port>9234</port>
|
|
</server>
|
|
<server>
|
|
<id>2</id>
|
|
<hostname>node2</hostname>
|
|
<port>9234</port>
|
|
<start_as_follower>true</start_as_follower>
|
|
</server>
|
|
<server>
|
|
<id>3</id>
|
|
<hostname>node3</hostname>
|
|
<port>9234</port>
|
|
<start_as_follower>true</start_as_follower>
|
|
</server>
|
|
</raft_configuration>
|
|
</keeper_server>
|
|
<global_profiler_real_time_period_ns>1000000000</global_profiler_real_time_period_ns>
|
|
<global_profiler_cpu_time_period_ns>1000000000</global_profiler_cpu_time_period_ns>
|
|
</datastore>
|