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(v2): object downloading goroutine leak #3724

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

kolesnikovae
Copy link
Collaborator

During compaction, we download the entire object if it exceeds a certain threshold. However, there's a goroutine leak: the object reader is not being closed properly, causing all associated resources to remain in memory indefinitely.

This is the goroutine profile of one of the instances:
image

@kolesnikovae kolesnikovae requested a review from a team as a code owner November 28, 2024 04:48
@kolesnikovae kolesnikovae merged commit 7861b51 into main Nov 28, 2024
18 checks passed
@kolesnikovae kolesnikovae deleted the fix/dispose-open-descriptors branch November 28, 2024 05:23
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