You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by he...@apache.org on 2026/04/22 03:18:02 UTC

(doris) branch master updated: [fix](docker) Stabilize ClickHouse external startup (#62690)

This is an automated email from the ASF dual-hosted git repository.

hello-stephen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new a700be3776f [fix](docker) Stabilize ClickHouse external startup (#62690)
a700be3776f is described below

commit a700be3776fc881e8fbf558d8931ddee4e3f95ee
Author: Socrates <su...@selectdb.com>
AuthorDate: Wed Apr 22 11:17:53 2026 +0800

    [fix](docker) Stabilize ClickHouse external startup (#62690)
    
    ### What problem does this PR solve?
    
    Issue Number: N/A
    
    Related PR: #62664
    
    Problem Summary: External regression can fail intermittently when
    ClickHouse initialization takes longer than the compose health check
    window. The health check depends on init SQL having created and loaded
    doris_test.deadline, so busy pipeline hosts can mark the container
    unhealthy before initialization has finished. This was observed in
    external regression logs such as #90767, where ClickHouse was the first
    unhealthy component and a later retry surfaced as a Kafka/Zookeeper
    cleanup race.
    
    This PR increases the ClickHouse health check timeout, retry count, and
    start period so docker compose gives init scripts enough time on loaded
    CI agents.
    
    ### Release note
    
    None
    
    ### Check List (For Author)
    
    - Test: Manual test
        - Ran git diff --check for modified ClickHouse compose template
    - Behavior changed: No
    - Does this need documentation: No
---
 docker/thirdparties/docker-compose/clickhouse/clickhouse.yaml.tpl | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/docker/thirdparties/docker-compose/clickhouse/clickhouse.yaml.tpl b/docker/thirdparties/docker-compose/clickhouse/clickhouse.yaml.tpl
index 406c23f8579..9a8bab99e83 100644
--- a/docker/thirdparties/docker-compose/clickhouse/clickhouse.yaml.tpl
+++ b/docker/thirdparties/docker-compose/clickhouse/clickhouse.yaml.tpl
@@ -33,8 +33,9 @@ services:
     healthcheck:
       test: ["CMD-SHELL", "clickhouse-client --password=123456 --query 'SELECT 1 FROM doris_test.deadline'"]
       interval: 30s
-      timeout: 10s
-      retries: 5
+      timeout: 30s
+      retries: 20
+      start_period: 180s
     volumes:
       - ./init:/docker-entrypoint-initdb.d
     networks:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org