Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Call eleveldb:close on vnode stop for eleveldb backend. #372

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Split
@@ -106,8 +106,8 @@ start(Partition, Config) ->
%% @doc Stop the eleveldb backend
-spec stop(state()) -> ok.
-stop(_State) ->
- %% No-op; GC handles cleanup
+stop(State) ->
+ eleveldb:close(State#state.ref),
ok.
%% @doc Retrieve an object from the eleveldb backend