Skip to content

Commit 2a29bfd

Browse files
committed
Relax ClickHouse deploy preflight
1 parent ceab66c commit 2a29bfd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/preflight-control-plane-host.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,22 +255,22 @@ probe_clickhouse() {
255255
local password="$4"
256256
local exists
257257
url="${url%/}"
258-
if curl -fsS --max-time 10 --retry 3 --retry-delay 2 --retry-all-errors -u "$user:$password" \
258+
if curl --http1.1 -fsS --max-time 10 --retry 3 --retry-delay 2 --retry-all-errors -u "$user:$password" \
259259
"$url/?database=$database&query=SELECT%201" >/dev/null; then
260260
operator_ok "ClickHouse connectivity probe passed"
261261
else
262-
operator_fail "ClickHouse connectivity probe failed"
262+
operator_warn "ClickHouse connectivity probe failed after retries; continuing because runtime telemetry can retry"
263263
return 0
264264
fi
265265
exists="$(
266-
curl -fsS --max-time 10 -u "$user:$password" \
266+
curl --http1.1 -fsS --max-time 10 -u "$user:$password" \
267267
--retry 3 --retry-delay 2 --retry-all-errors \
268268
"$url/?database=$database&query=EXISTS%20TABLE%20playback_events" || true
269269
)"
270270
if [[ "$exists" == "1" ]]; then
271271
operator_ok "ClickHouse playback telemetry table probe passed"
272272
else
273-
operator_fail "ClickHouse playback_events table is missing or not queryable"
273+
operator_warn "ClickHouse playback_events table probe failed; continuing because runtime telemetry can retry"
274274
fi
275275
}
276276

0 commit comments

Comments
 (0)