mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
Merge pull request #72558 from azat/ci/faster-shutdown
Fix possible CI failures due to slow logs proxy tables shutdown
This commit is contained in:
commit
c8942bb213
@ -184,6 +184,9 @@ function stop_server()
|
||||
# Preserve the pid, since the server can hung after the PID will be deleted.
|
||||
pid="$(cat /var/run/clickhouse-server/clickhouse-server.pid)"
|
||||
|
||||
# FIXME: workaround for slow shutdown of Distributed tables (due to sequential tables shutdown)
|
||||
# Refs: https://github.com/ClickHouse/ClickHouse/issues/72557
|
||||
clickhouse client -q "SYSTEM STOP DISTRIBUTED SENDS" ||:
|
||||
clickhouse stop --max-tries "$max_tries" --do-not-kill && return
|
||||
|
||||
if [ "$check_hang" == true ]
|
||||
|
Loading…
Reference in New Issue
Block a user