Changed semantics of backend:drop - backend must close all handles. #373

Merged
merged 1 commit into from Jul 25, 2012

Projects

None yet

3 participants

@jonmeredith
Contributor

Resolves issues around eleveldb locking and handoff.

Should fix errors like this with 1.2.0rc2

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 Changed semantics of backend:drop - backend must close all handles.
Resolves issues around eleveldb locking and handoff.
6af4c10
@Vagabond
Contributor

This fixes the error I was seeing when riak was trying to drop leveldb vnodes.

@reiddraper reiddraper was assigned Jul 24, 2012
@reiddraper
Contributor

+1

@jonmeredith jonmeredith merged commit 2a45808 into 1.2 Jul 25, 2012
@seancribbs seancribbs deleted the jdm-make-backends-shutdown-on-drop branch Apr 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment