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.
48 lines
1.8 KiB
XML
48 lines
1.8 KiB
XML
<datastore>
|
|
<storage_configuration>
|
|
<disks>
|
|
<s3>
|
|
<type>s3</type>
|
|
<endpoint>https://minio1:9001/root/data/</endpoint>
|
|
<access_key_id>minio</access_key_id>
|
|
<secret_access_key>ClickHouse_Minio_P@ssw0rd</secret_access_key>
|
|
|
|
<!--
|
|
We need to set request timeout for the test because throttling duration is limited by half of the timeout
|
|
But for remote read tests we use 1MBps default bandwidth, and read in 1MB chunks, so such read may be throttled for 1 second.
|
|
We increase request timeout from 500ms to 60 seconds to avoid throttling duration capping.
|
|
In real situations 1MBps is too low, so this should not be a problem.
|
|
-->
|
|
<request_timeout_ms>60000</request_timeout_ms>
|
|
<use_adaptive_timeouts>false</use_adaptive_timeouts>
|
|
<persistent_removal_log>true</persistent_removal_log>
|
|
</s3>
|
|
</disks>
|
|
<policies>
|
|
<s3>
|
|
<volumes>
|
|
<main>
|
|
<disk>s3</disk>
|
|
</main>
|
|
</volumes>
|
|
</s3>
|
|
</policies>
|
|
</storage_configuration>
|
|
|
|
<named_collections>
|
|
<s3>
|
|
<url>https://minio1:9001/root/data/</url>
|
|
<access_key_id>minio</access_key_id>
|
|
<secret_access_key>ClickHouse_Minio_P@ssw0rd</secret_access_key>
|
|
</s3>
|
|
</named_collections>
|
|
|
|
<backups>
|
|
<allowed_disk>default</allowed_disk>
|
|
<allowed_path>/backups/</allowed_path>
|
|
</backups>
|
|
|
|
<max_mutations_bandwidth_for_server>1000000</max_mutations_bandwidth_for_server> <!-- 1M -->
|
|
<max_merges_bandwidth_for_server>1000000</max_merges_bandwidth_for_server> <!-- 1M -->
|
|
</datastore>
|