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

Delete leaked objects if it's already deleted by other goroutines #4748

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Delete leaked objects if it's already deleted by other goroutines #4748

merged 1 commit into from
Apr 23, 2024

Conversation

polyrabbit
Copy link
Contributor

When gc and uploading happens simultaneously on the same stage file, the uploaded object will be leaked - never got a second chance to be deleted.

We observed several cases of leaded objects when write-back is enabled and trash-days set to 0.

@SandyXSD SandyXSD merged commit 54e0300 into juicedata:main Apr 23, 2024
32 checks passed
@polyrabbit polyrabbit deleted the leak-object branch April 23, 2024 02:50
@zhoucheng361 zhoucheng361 added missed missed bug module/gc&fsck gc&fsck labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missed missed bug module/gc&fsck gc&fsck
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants