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

Reuse storage clients + destroy when no longer needed (fixes #734) #735

Merged
merged 6 commits into from
Dec 21, 2023

Conversation

GabrielLomba
Copy link
Contributor

This change reuses the storage clients created in file_transfer_agent.js and destroys them when no longer needed to avoid increasing memory usage in the S3 use case (fixes #734 ).

@GabrielLomba GabrielLomba requested a review from a team as a code owner December 15, 2023 14:10
Copy link

github-actions bot commented Dec 15, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@GabrielLomba
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@GabrielLomba
Copy link
Contributor Author

recheck

Copy link
Collaborator

@sfc-gh-pmotacki sfc-gh-pmotacki left a comment

Choose a reason for hiding this comment

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

LGTM

@sfc-gh-dheyman sfc-gh-dheyman self-requested a review December 20, 2023 08:02
@sfc-gh-dheyman
Copy link
Collaborator

Hi @GabrielLomba, your PR looks fine. Please fix linter errors and we'll merge it.

@GabrielLomba
Copy link
Contributor Author

Lint errors fixed

@sfc-gh-dheyman sfc-gh-dheyman merged commit b092fb8 into snowflakedb:master Dec 21, 2023
49 of 88 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
@sfc-gh-dheyman
Copy link
Collaborator

In behalf of Snowflake, thank you for your contribution @GabrielLomba! Much appreciated!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SNOW-992395: The lib leaks keepalive sockets when uploading files + using S3 client
3 participants