-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into release/v0.46.x
- Loading branch information
Showing
7 changed files
with
79 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<clickhouse> | ||
<logger> | ||
<!-- Possible levels [1]: | ||
- none (turns off logging) | ||
- fatal | ||
- critical | ||
- error | ||
- warning | ||
- notice | ||
- information | ||
- debug | ||
- trace | ||
[1]: https://github.com/pocoproject/poco/blob/poco-1.9.4-release/Foundation/include/Poco/Logger.h#L105-L114 | ||
--> | ||
<level>information</level> | ||
<log>/var/log/clickhouse-keeper/clickhouse-keeper.log</log> | ||
<errorlog>/var/log/clickhouse-keeper/clickhouse-keeper.err.log</errorlog> | ||
<!-- Rotation policy | ||
See https://github.com/pocoproject/poco/blob/poco-1.9.4-release/Foundation/include/Poco/FileChannel.h#L54-L85 | ||
--> | ||
<size>1000M</size> | ||
<count>10</count> | ||
<!-- <console>1</console> --> <!-- Default behavior is autodetection (log to console if not daemon mode and is tty) --> | ||
</logger> | ||
|
||
<listen_host>0.0.0.0</listen_host> | ||
<max_connections>4096</max_connections> | ||
|
||
<keeper_server> | ||
<tcp_port>9181</tcp_port> | ||
|
||
<!-- Must be unique among all keeper serves --> | ||
<server_id>1</server_id> | ||
|
||
<log_storage_path>/var/lib/clickhouse/coordination/logs</log_storage_path> | ||
<snapshot_storage_path>/var/lib/clickhouse/coordination/snapshots</snapshot_storage_path> | ||
|
||
<coordination_settings> | ||
<operation_timeout_ms>10000</operation_timeout_ms> | ||
<min_session_timeout_ms>10000</min_session_timeout_ms> | ||
<session_timeout_ms>100000</session_timeout_ms> | ||
<raft_logs_level>information</raft_logs_level> | ||
<compress_logs>false</compress_logs> | ||
<!-- All settings listed in https://github.com/ClickHouse/ClickHouse/blob/master/src/Coordination/CoordinationSettings.h --> | ||
</coordination_settings> | ||
|
||
<!-- enable sanity hostname checks for cluster configuration (e.g. if localhost is used with remote endpoints) --> | ||
<hostname_checks_enabled>true</hostname_checks_enabled> | ||
<raft_configuration> | ||
<server> | ||
<id>1</id> | ||
|
||
<!-- Internal port and hostname --> | ||
<hostname>clickhouses-keeper-1</hostname> | ||
<port>9234</port> | ||
</server> | ||
|
||
<!-- Add more servers here --> | ||
|
||
</raft_configuration> | ||
</keeper_server> | ||
</clickhouse> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters