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

Closed
wants to merge 1 commit into
from

Projects

None yet

1 participant

@jonmeredith

This will have the consequence of failing any running folds
at the point the vnode shuts down rather than allowing them
to complete.

Resolves errors like

2012-07-23 22:01:45.831 [error] <0.648.0>@riak_kv_vnode:delete:575 Failed to drop riak_kv_eleveldb_backend. Reason: {error_db_destroy,"IO error: lock ./data/leveldb/114179815416476790484662877555959610910619729920/LOCK: Resource temporarily unavailable"}
2012-07-24 00:01:24.486 [error] <0.1766.0>@riak_kv_vnode:init:265 Failed to start riak_kv_eleveldb_backend Reason: {db_open,"IO error: lock ./data/leveldb/3882113724160210876478537836902626
77096107081728/LOCK: Resource temporarily unavailable"}
@jonmeredith jonmeredith Call eleveldb:close on vnode stop for eleveldb backend.
This will have the consequence of failing any running folds
at the point the vnode shuts down rather than allowing them
to complete.
9124d80
@jonmeredith

Replaced by #373

@seancribbs seancribbs deleted the jdm-close-eleveldb-on-stop2 branch Apr 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment