PR #3073 (0.9.9 patch) never forward-ported the 159 retryable again and setQueryTimeout does not set max_execution_time on main/0.10.0
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Start by comparing ServerException.discoverIsRetryable() and Statement.setQueryTimeout() on main with their v0.9.9 behavior. Reproduce a query exceeding max_execution_time and inspect system.query_log; done means timeout code 159 is not retried and setQueryTimeout also applies the server-side limit.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
PR #3073 ("Makes 159 Execution Timeout not retriable & make setQueryTimeout set proper setting"),
which closed #3074 the 0.9.9 patch tracking issue for #2637, was merged with base v0.9.9,
not main. It was never forward-ported, so both of its fixes are absent from v0.10.0 and from
main today (@ a7fd189c):
1. 159 TIMEOUT_EXCEEDED is retryable again. ServerException.discoverIsRetryable():
| ref | case 159: present |
|---|---|
| v0.9.8 | yes |
| v0.9.9 | no (fixed by 9378ba09f2) |
| v0.10.0 | yes |
main @ a7fd189c |
yes (line 62) |
2. Statement.setQueryTimeout() still does not set max_execution_time. On main,
queryTimeout is used only as a client-side future.get(timeout, SECONDS) — the client stops
waiting but the server keeps executing the query. v0.9.9 additionally sets the server setting.
This is the original symptom reported in #2637, which is still open.
Steps to reproduce
- Set
max_execution_timelow on the user's settings profile (e.g. 30s), or call
setQueryTimeout()on 0.9.9 where it maps to that setting. - Execute a query that reliably exceeds it.
- Observe the client re-executing the identical query up to
retrytimes — one
WARN ... Retrying.per attempt. Insystem.query_logthe same query text appears N+1 times,
each ending inExceptionWhileProcessingwithexception_code = 159.
Environment
- Cloud
- Client version: 0.9.8 (also reproduces on v0.10.0 and
main@a7fd189c; fixed only on v0.9.9) - Language version: Java 21 (Temurin 21.0.6)
- OS: Linux (container)
- Lingua principale
- Java
- Stelle
- 1.6k
- Fork
- 637
- Merge medio
- 3g 8h
- PR unite (30g)
- 32
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ClickHouse/clickhouse-java
-
[examples] Remove old Spring exampleForse già presa @polyglotAI-bot l’ha presa 1 giorno fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
ClickHouse/clickhouse-java#3111 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[client-v2] ClickHouseColumn mis-parses a Tuple whose JSON element is not last: later elements are swallowed as JSON parametersForse già presa @polyglotAI-bot l’ha presa 1 giorno fa. Apertaarea:data-type bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ClickHouse/clickhouse-java#3098 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
bug client-api-v2 test
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
ClickHouse/clickhouse-java#3076 ·
I maintainer di solito rispondono entro 1 giorno
-
area:sql-parser bug client-v1
Difficoltà 1/5 1-3 ore Idoneità per principianti 92/100
ClickHouse/clickhouse-java#3066 ·
I maintainer di solito rispondono entro 1 giorno
-
area:general bug client-api-v2 jdbc jdbc-v2
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
ClickHouse/clickhouse-java#3063 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di ClickHouse/clickhouse-java
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
openhab/openhab-core#5847 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
apache/parquet-java#3820 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
beehive-lab/jllm#187 ·