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

Improve refcounted block reclamation #2

Open
LeeSmet opened this issue Dec 13, 2021 · 0 comments
Open

Improve refcounted block reclamation #2

LeeSmet opened this issue Dec 13, 2021 · 0 comments

Comments

@LeeSmet
Copy link
Owner

LeeSmet commented Dec 13, 2021

Currently deletes are handled in the delete call. It would be better if the files to remove are just moved to a separate collection, so that a worker thread can take care of this in the background. This would decrease the time it takes for delete calls to just move the files in the meta db. This would also be a big improvement for bucket deletes, as we can simply rename the bucket and reclaim it later. Right now, creating a bucket with the same name as a recently deleted bucket will fail until the bucket is completely deleted.

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

No branches or pull requests

1 participant