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

Refactor bitcask_fileops:fold_keys function #123

Merged
merged 1 commit into from
Dec 12, 2013

Conversation

kellymclaughlin
Copy link
Contributor

Refactor bitcask_fileops:fold_keys to remove nested case statements and
improve the clarity. Also change the has_valid_hintfile function to only check
for a valid hintfile and not also check for the existence of a hintfile. This
change has the side effect of preventing the logging of error messages about
invalid hintfiles when the case is just that no hintfile exists.

Refactor bitcask_fileops:fold_keys to remove nested case statements
and improve the clarity. Also change the has_valid_hintfile function
to only check for a valid hintfile and not also check for the
existence of a hintfile. This change has the side effect of preventing
the logging of error messages about invalid hintfiles when the case is
just that no hintfile exists.
@slfritchie
Copy link
Contributor

The PR as-is has 4 EUnit test failures (majority are cuttlefish), but they all go away when merged with master. The PULSE test also succeeds for 10 minutes worth of run. +1. I'm gonna hit the merge button, yell at me if I shouldn't've.

slfritchie added a commit that referenced this pull request Dec 12, 2013
Refactor bitcask_fileops:fold_keys function
@slfritchie slfritchie merged commit a7c06a3 into develop Dec 12, 2013
@seancribbs seancribbs deleted the refactor/fileops-fold-keys branch April 1, 2015 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants