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

DDFS GC should reuse the the blob_map and tag_map if gc fails in a later stage. #551

Open
pooya opened this issue Jul 9, 2014 · 0 comments

Comments

@pooya
Copy link
Member

pooya commented Jul 9, 2014

If ddfs gc fails for any reason in a stage after build_map, it should not give up the blob_map and tag_map ets tables. Chances are the admin is going to restart the gc very soon and the maps can be reused for the next gc.
These ets tables should be deleted only when the gc terminates successfully, or when they expire.

This means we also have to set an upper limit on the length of each stage of the gc.
There are some notes about handling of the ets tables in this blog post: http://steve.vinoski.net/blog/2011/03/23/dont-lose-your-ets-tables

It also makes sense to add an option to discard these ets tables and start the gc from scratch.

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

No branches or pull requests

1 participant