2021-10-21 13:59:13 +00:00
|
|
|
<clickhouse>
|
|
|
|
<zookeeper>
|
2023-11-16 07:32:11 +00:00
|
|
|
<use_compression>1</use_compression>
|
2022-12-27 11:52:03 +00:00
|
|
|
<node index="1">
|
|
|
|
<host>localhost</host>
|
|
|
|
<port>9181</port>
|
|
|
|
</node>
|
2021-10-21 13:59:13 +00:00
|
|
|
<!-- Settings for fault injection.
|
|
|
|
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).
|
|
|
|
-->
|
2023-03-24 16:07:48 +00:00
|
|
|
<enable_fault_injections_during_startup>0</enable_fault_injections_during_startup>
|
2021-10-21 13:59:13 +00:00
|
|
|
<send_fault_probability>0.00002</send_fault_probability>
|
|
|
|
<recv_fault_probability>0.00002</recv_fault_probability>
|
2023-03-24 16:07:48 +00:00
|
|
|
|
|
|
|
<send_sleep_probability>0.00001</send_sleep_probability>
|
|
|
|
<send_sleep_ms>10000</send_sleep_ms>
|
2021-10-21 13:59:13 +00:00
|
|
|
</zookeeper>
|
|
|
|
</clickhouse>
|