ClickHouse/tests/jepsen.nukeeper/resources/test_keeper_config.xml
2021-03-22 13:06:09 +03:00

37 lines
1.2 KiB
XML

<yandex>
<test_keeper_server>
<tcp_port>9181</tcp_port>
<server_id>{id}</server_id>
<coordination_settings>
<operation_timeout_ms>10000</operation_timeout_ms>
<session_timeout_ms>30000</session_timeout_ms>
<force_sync>false</force_sync>
<startup_timeout>120000</startup_timeout>
<raft_logs_level>trace</raft_logs_level>
<quorum_reads>{quorum_reads}</quorum_reads>
<snapshot_distance>{snapshot_distance}</snapshot_distance>
<stale_log_gap>{stale_log_gap}</stale_log_gap>
<reserved_log_items>{reserved_log_items}</reserved_log_items>
</coordination_settings>
<raft_configuration>
<server>
<id>1</id>
<hostname>{srv1}</hostname>
<port>9444</port>
</server>
<server>
<id>2</id>
<hostname>{srv2}</hostname>
<port>9444</port>
</server>
<server>
<id>3</id>
<hostname>{srv3}</hostname>
<port>9444</port>
</server>
</raft_configuration>
</test_keeper_server>
</yandex>