Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
UnamedRus committed Sep 25, 2021
1 parent 5ee0565 commit 80c8d45
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Expand Up @@ -41,4 +41,4 @@ Q. Clickhouse is caching the Kafka pod's IP and trying to connect to the same ip
### ClickHouse init process failed

It's due to low value for env `CLICKHOUSE_INIT_TIMEOUT` value. Consider increasing it up to 1 min.
[https://github.com/ClickHouse/ClickHouse/blob/9f5cd35a6963cc556a51218b46b0754dcac7306a/docker/server/entrypoint.sh\#L120](https://github.com/ClickHouse/ClickHouse/blob/9f5cd35a6963cc556a51218b46b0754dcac7306a/docker/server/entrypoint.sh#L120)
[https://github.com/ClickHouse/ClickHouse/blob/9f5cd35a6963cc556a51218b46b0754dcac7306a/docker/server/entrypoint.sh\#L120](https://github.com/ClickHouse/ClickHouse/blob/9f5cd35a6963cc556a51218b46b0754dcac7306a/docker/server/entrypoint.sh#L120)
Expand Up @@ -25,6 +25,6 @@ More safer way:

* Shutdown server.

`SYSTEM SHUTDOWN` query doesn’t wait until query completion and tries to kill all queries immediately after receiving signal, even if there is setting `shutdown_wait_unfinished`.
`SYSTEM SHUTDOWN` query doesn’t wait until query completion and tries to kill all queries immediately after receiving signal, even if setting `shutdown_wait_unfinished` being used.

[https://github.com/ClickHouse/ClickHouse/blob/master/programs/server/Server.cpp\#L1353](https://github.com/ClickHouse/ClickHouse/blob/master/programs/server/Server.cpp#L1353)
Expand Up @@ -113,7 +113,7 @@ It's happens due of missing tzdata package in migrate/migrate docker image of go
There is 2 possible solutions:

1. You can build your own golang-migrate image from official with tzdata package.
2. If you using it as part of your CI you can add installing tzdata package as one of step in ci before using golang-migrate.
2. If you using it as part of your CI you can add installing tzdata package as one of step in CI before using golang-migrate.

Related GitHub issues:
[https://github.com/golang-migrate/migrate/issues/494](https://github.com/golang-migrate/migrate/issues/494)
Expand Down
Expand Up @@ -13,3 +13,5 @@ Merge scheduler selects parts by own algorithm based on the current node workloa
CH merge scheduler balances between a big number of parts and a wasting resources on merges.

Merges are CPU/DISK IO expensive. If CH will merge every new part then all resources will be spend on merges and will no resources remain on queries (selects ).

CH will not merge parts with a combined size greater than 100 GB.

0 comments on commit 80c8d45

Please sign in to comment.