Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[client-v2] Fixes handling error when successful http status by error code header in response #1879

Merged
merged 3 commits into from
Oct 24, 2024

Conversation

chernser
Copy link
Contributor

@chernser chernser commented Oct 23, 2024

Summary

Fixes the problem with case when server responds "200 OK" but then long running query fails and headers have exception code.

Linked to #1821

Checklist

Delete items not relevant to your PR:

  • Unit and integration tests covering the common scenarios were added
  • A human-readable description of the changes was provided to include in CHANGELOG
  • For significant changes, documentation in https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials

@chernser chernser marked this pull request as ready for review October 24, 2024 03:00
@chernser chernser requested review from mzitnik and Paultagoras and removed request for mzitnik October 24, 2024 03:00
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
50.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

Copy link
Contributor

@Paultagoras Paultagoras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chernser Have we verified it can read the header if send during the process, rather than just initially?

@chernser chernser merged commit a0ab761 into main Oct 24, 2024
59 of 60 checks passed
@chernser chernser deleted the fix_error_handling branch October 24, 2024 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants