ClickHouse / ClickHouse/ClickHouse

clickhouse stop --force hangs on Mac

Open
#99,142 0 comments 0 reactions 0 assignees View on GitHub
comp-cli potential bug
Dominant language
C++
Stars
49.9k
Forks
9k
Avg merge
21h 32m
Merged PRs (30d)
515

Description

### Describe what's wrong

`--force` is assumed to be quick, but it is not.

### Does it reproduce on the most recent release?

Yes

### How to reproduce

I reliably see that `clickhouse stop --pid-path /Users/dataved/ClickHouse/ci/tmp/etc/clickhouse-server --force` makes the process `` (the pid continue to exist) and fails to kill it.

`Code: 380. DB::Exception: The server process still exists after 1000 tries (delay: 100 ms). (CANNOT_KILL) (version 26.2.3.2 (official build))`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.