mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
48 lines
1.8 KiB
XML
48 lines
1.8 KiB
XML
<clickhouse>
|
|
<keeper_server>
|
|
<tcp_port>9181</tcp_port>
|
|
<server_id>1</server_id>
|
|
|
|
<create_snapshot_on_exit>0</create_snapshot_on_exit>
|
|
<digest_enabled>1</digest_enabled>
|
|
|
|
<coordination_settings>
|
|
<operation_timeout_ms>10000</operation_timeout_ms>
|
|
<session_timeout_ms>100000</session_timeout_ms>
|
|
<min_session_timeout_ms>10000</min_session_timeout_ms>
|
|
<force_sync>false</force_sync>
|
|
<startup_timeout>240000</startup_timeout>
|
|
<!-- we want all logs for complex problems investigation -->
|
|
<reserved_log_items>1000000000000000</reserved_log_items>
|
|
<snapshot_distance>100000</snapshot_distance>
|
|
|
|
<!-- For instant start in single node configuration -->
|
|
<heart_beat_interval_ms>0</heart_beat_interval_ms>
|
|
<election_timeout_lower_bound_ms>0</election_timeout_lower_bound_ms>
|
|
<election_timeout_upper_bound_ms>0</election_timeout_upper_bound_ms>
|
|
|
|
<compress_logs>0</compress_logs>
|
|
|
|
<async_replication>1</async_replication>
|
|
|
|
<latest_logs_cache_size_threshold>1073741824</latest_logs_cache_size_threshold>
|
|
<commit_logs_cache_size_threshold>524288000</commit_logs_cache_size_threshold>
|
|
</coordination_settings>
|
|
|
|
<raft_configuration>
|
|
<server>
|
|
<id>1</id>
|
|
<hostname>localhost</hostname>
|
|
<port>9234</port>
|
|
</server>
|
|
</raft_configuration>
|
|
|
|
<feature_flags>
|
|
<filtered_list>1</filtered_list>
|
|
<multi_read>1</multi_read>
|
|
<check_not_exists>1</check_not_exists>
|
|
<create_if_not_exists>1</create_if_not_exists>
|
|
</feature_flags>
|
|
</keeper_server>
|
|
</clickhouse>
|