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.
57 lines
1.3 KiB
XML
57 lines
1.3 KiB
XML
|
|
<datastore>
|
|
<remote_servers>
|
|
<cluster_simple>
|
|
<shard>
|
|
<replica>
|
|
<host>s0_0_0</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
<replica>
|
|
<host>s0_0_1</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
</shard>
|
|
<shard>
|
|
<replica>
|
|
<host>s0_1_0</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
</shard>
|
|
</cluster_simple>
|
|
|
|
<!-- A part of the cluster above, represents only one shard-->
|
|
<first_shard>
|
|
<shard>
|
|
<replica>
|
|
<host>s0_0_0</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
<replica>
|
|
<host>s0_0_1</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
</shard>
|
|
</first_shard>
|
|
|
|
<cluster_non_existent_port>
|
|
<shard>
|
|
<replica>
|
|
<host>s0_0_0</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
</shard>
|
|
<shard>
|
|
<replica>
|
|
<host>s0_0_0</host>
|
|
<port>19000</port>
|
|
</replica>
|
|
</shard>
|
|
</cluster_non_existent_port>
|
|
|
|
</remote_servers>
|
|
<macros>
|
|
<default_cluster_macro>cluster_simple</default_cluster_macro>
|
|
</macros>
|
|
</datastore>
|