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.8 KiB
XML
54 lines
1.8 KiB
XML
<datastore>
|
|
<named_collections>
|
|
<remote1>
|
|
<host>127.0.0.2</host>
|
|
<port>9000</port>
|
|
<table>remote_test</table>
|
|
</remote1>
|
|
<remote2>
|
|
<host>127.0.0.{1,2}</host>
|
|
<table>remote_test</table>
|
|
</remote2>
|
|
<clickhouse_dictionary>
|
|
<host>localhost</host>
|
|
<user>default</user>
|
|
<table>s</table>
|
|
</clickhouse_dictionary>
|
|
<url_with_headers>
|
|
<headers>
|
|
<header>
|
|
<name>X-Datastore-Format</name>
|
|
<value>Vertical</value>
|
|
</header>
|
|
<header>
|
|
<name>X-Datastore-Database</name>
|
|
<value>non_existing_database</value>
|
|
</header>
|
|
</headers>
|
|
</url_with_headers>
|
|
<s3_conn>
|
|
<url>http://localhost:11111/test/</url>
|
|
<access_key_id>test</access_key_id>
|
|
<secret_access_key>testtest</secret_access_key>
|
|
<structure>auto</structure>
|
|
</s3_conn>
|
|
<s3_conn_db>
|
|
<url>http://localhost:11111/test/</url>
|
|
<access_key_id>test</access_key_id>
|
|
<secret_access_key>testtest</secret_access_key>
|
|
</s3_conn_db>
|
|
<cache_collection>
|
|
<max_size>1Mi</max_size>
|
|
<path>collection</path>
|
|
</cache_collection>
|
|
<url_override1>
|
|
<url overridable="0">http://127.0.0.1:8123?query=select+1</url>
|
|
<format overridable="1">RawBLOB</format>
|
|
</url_override1>
|
|
<url_override2>
|
|
<url>http://127.0.0.1:8123?query=select+1</url>
|
|
<format>RawBLOB</format>
|
|
</url_override2>
|
|
</named_collections>
|
|
</datastore>
|