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

Move DestroyDB call from erlang thread to background thread. #142

Merged
merged 2 commits into from Jul 2, 2015

Conversation

matthewvon
Copy link
Contributor

No description provided.

destroy_int(_Name, _Opts) ->
erlang:nif_error({erlang, not_loaded}).
CallerRef = make_ref(),
Opts2 = add_open_defaults(Opts),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I imagine you don't need the default open opts here, but was just a cut n' paste addition?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The DestroyDB call does require leveldb::Options structure as a parameter (that is same as open_options here).

@engelsanchez
Copy link

+1 1d5c32a

Code looks good now, tests pass. I confirmed the interface is now the same after the last fix. S'all good.

matthewvon added a commit that referenced this pull request Jul 2, 2015
Move DestroyDB call from erlang thread to background thread.
@matthewvon matthewvon merged commit 728df2f into develop Jul 2, 2015
@hazen hazen deleted the mv-async-destroy branch November 17, 2015 20:12
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

Successfully merging this pull request may close these issues.

None yet

2 participants