Skip to content

fix tcp connection polls, reconnect broken connections#83059

Merged
CheSema merged 3 commits intomasterfrom
chesema-fix-connection-pools
Jul 3, 2025
Merged

fix tcp connection polls, reconnect broken connections#83059
CheSema merged 3 commits intomasterfrom
chesema-fix-connection-pools

Conversation

@CheSema
Copy link
Copy Markdown
Member

@CheSema CheSema commented Jul 2, 2025

ConnectionPoolWithFailover doing bad thing. It holds connection in whatever state. Broken connections are being put back to the pool at the end and they are stored there as well.

More global fix than #83056

Related to:
It is not allowed to use read buffer after it thrown an exceptoin.
#81951

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

...

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh Bot commented Jul 2, 2025

Workflow [PR], commit [e4291d3]

Summary:

job_name test_name status info comment
Build (ppc64le) failure
Cmake configuration failure

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Jul 2, 2025
@CheSema CheSema changed the title fix tcp connection polls fix tcp connection polls, reconnect broken connections Jul 2, 2025
@Avogar Avogar self-assigned this Jul 2, 2025
@CheSema CheSema enabled auto-merge July 2, 2025 09:33
@CheSema CheSema force-pushed the chesema-fix-connection-pools branch from 37ea906 to e9fc989 Compare July 2, 2025 09:43
@CheSema CheSema requested a review from Avogar July 2, 2025 09:43
@CheSema CheSema added this pull request to the merge queue Jul 3, 2025
Merged via the queue into master with commit 3d93bf7 Jul 3, 2025
119 of 122 checks passed
@CheSema CheSema deleted the chesema-fix-connection-pools branch July 3, 2025 10:58
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants