Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run clickhouse-server in exec form inside Docker #3663

Merged
merged 1 commit into from Nov 26, 2018

Conversation

elghazal-a
Copy link
Contributor

@elghazal-a elghazal-a commented Nov 26, 2018

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Currenly, clickhouse-server is run inside Docker in shell form and this prevents the server from handling SIGINT and SIGTERM signals sent, for example, by docker stop. Hence, Docker (or any other container orchestrator) is always forced to kill the container which may lead to data corruption.

In this pull request, I aim to run clickhouse-server in exec form. The server will be run as PID 1 and hence will be able to handle the signals.

@proller proller merged commit 0dd5777 into ClickHouse:master Nov 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants