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

Bitcask should check for missing hintfiles on close and write them out. #107

Open
evanmcc opened this issue Sep 20, 2013 · 2 comments
Open
Milestone

Comments

@evanmcc
Copy link
Contributor

evanmcc commented Sep 20, 2013

If your hintfiles are deleted, and you shut down cleanly the node before any merges happen, your hintfiles will not be recreated. This is undesirable on very large nodes, so since we already have the hintfile information, we should make sure that it is up to date on bitcask:close().

@slfritchie slfritchie added this to the 2.1 milestone Mar 24, 2014
@angrycub
Copy link

Would it be possible to write out the hintfile as soon as the datafile is read rather than waiting on a bitcask:close()? This would prevent a nodes crashing before a proper close or merge from having to fully read the datafile again.

@jonmeredith
Copy link
Contributor

Could make the fold_keys function regenerate it when in recovery mode based on config.

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

4 participants