Skip to content

Conversation

@zhicwu
Copy link
Contributor

@zhicwu zhicwu commented Jan 7, 2021

Translate comment and fix #462.

This is basically opposite of HTTPCLIENT-989. Why? HTTP method POST is not idempotent, but when we use it to issue query, it is. In the case server closed connection, instead of throwing NoHttpResponseException, it's definitely worthy of retry by resending the request(query, not mutation or DDL).

@zhicwu zhicwu added this to the 0.2.5 release milestone Jan 7, 2021
@zhicwu zhicwu linked an issue Jan 7, 2021 that may be closed by this pull request
@zhicwu zhicwu changed the title Translate comment and fix #462 Retry for NoHttpResponseException Jan 8, 2021
@zhicwu zhicwu removed this from the 0.2.5 release milestone Jan 18, 2021
@zhicwu zhicwu self-assigned this Jan 18, 2021
@zhicwu zhicwu linked an issue Feb 1, 2021 that may be closed by this pull request
@zhicwu zhicwu mentioned this pull request Feb 10, 2021
@zhicwu zhicwu merged commit 41f3e34 into ClickHouse:develop Feb 12, 2021
@zhicwu zhicwu deleted the failed-to-respond branch February 12, 2021 13:07
ebyhr added a commit to ebyhr/trino that referenced this pull request Nov 16, 2021
Version 0.2.6 contains retry mechanism for NoHttpResponseException.
The default retry attempt is 3.
ClickHouse/clickhouse-java#540
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant