Skip to content

Navigation Menu

Sign in
Sign up

Properly finalize ThreadPoolExecutors in file transfer agent - #2879

Open
jochenott wants to merge 2 commits into
snowflakedb:main from
jochenott:properly-finalize-thread-pools-in-file-transfer-agent
Open

Properly finalize ThreadPoolExecutors in file transfer agent #2879
jochenott wants to merge 2 commits into
snowflakedb:main from
jochenott:properly-finalize-thread-pools-in-file-transfer-agent

Conversation

@jochenott

@jochenott jochenott commented May 20, 2026

Copy link
Copy Markdown
Contributor

Please answer these questions before submitting your pull requests. Thanks!

  1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    Fixes SNOW-3556240: FileTransferManager leaks threads #2878

  2. Fill out the following pre-review checklist:

    • I am adding a new automated test(s) to verify correctness of my new code
    • I am adding new logging messages
    • I am adding a new telemetry message
    • I am modifying authorization mechanisms
    • I am adding new credentials
    • I am modifying OCSP code
    • I am adding a new dependency
  3. Please describe how your code solves the related issue.

    Fix a thread leak in the file transfer agent that was caused by not properly finalizing the thread pool executors.

sfc-gh-turbaszek added a commit that referenced this pull request Aug 6, 2026
...agent
Duplicate of #2879 by @jochenott. Shut down ThreadPoolExecutors via
ExitStack instead of relying on GC finalizers. Fixes #2878.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@sfc-gh-turbaszek sfc-gh-turbaszek sfc-gh-turbaszek approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

SNOW-3556240: FileTransferManager leaks threads

AltStyle によって変換されたページ (->オリジナル) /