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.
20 lines
979 B
XML
20 lines
979 B
XML
<datastore>
|
|
<!-- This config is used as an override on top of zookeeper.xml.
|
|
It only contains fault injection specific settings.
|
|
|
|
Approximate probability of request success:
|
|
(1 - send_fault_probability) * (1 - recv_fault_probability) = 0.99998 * 0.99998 = 0.99996
|
|
Actually it will be less, because if some request fails due to fault injection,
|
|
then all requests which are in the queue now also fail.
|
|
In other words, session will expire 4 times per 99996 successful requests
|
|
or approximately each 25000 requests (on average).
|
|
-->
|
|
<zookeeper>
|
|
<enable_fault_injections_during_startup>0</enable_fault_injections_during_startup>
|
|
<send_fault_probability>0.00002</send_fault_probability>
|
|
<recv_fault_probability>0.00002</recv_fault_probability>
|
|
<send_sleep_probability>0.00001</send_sleep_probability>
|
|
<send_sleep_ms>10000</send_sleep_ms>
|
|
</zookeeper>
|
|
</datastore>
|