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

fix: avoid to close client on data source closure #470

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

ndr-brt
Copy link
Member

@ndr-brt ndr-brt commented Oct 11, 2024

What this PR changes/adds

Stop closing the client when DataSource is closed

Why it does that

client could be part of a pool and get reused for other transfers (common case on the source side of transfer).
it's the actual flow that should be interrupted eventually. this PR doesn't take care of this, it's just patching the bug in the simplest way possible.

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Linked Issue(s)

Closes #455

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@ndr-brt ndr-brt added the bug Something isn't working label Oct 11, 2024
@ndr-brt ndr-brt merged commit a4a95b0 into main Oct 11, 2024
10 checks passed
@ndr-brt ndr-brt deleted the 455-avoid-client-closure branch October 11, 2024 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

S3DataSource transfers fails with 'Connection pool shut down'
2 participants