Incorrectly detected write lock #43

jonmeredith opened this Issue Apr 10, 2012 · 2 comments


None yet
3 participants

jonmeredith commented Apr 10, 2012

After crash, bitcask does not always detect stale locks correctly. Here is an example from a crashed Riak node.

07:25:13.738 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.25793.657> exit with reason bad return value: {error,{write_locked,locked,"/var/lib/riak/bitcask/536645132457440915277915524513010171279912730624"}} in context child_terminated

si14 commented Apr 10, 2012

+1 here. I'm using bitcask separately from Riak and I've got the same problem.


slfritchie commented Nov 16, 2012

Hiya. I believe that this problem has been fixed by #68. I have one more small lockfile-related fix to make, hopefully later today. If there's still a problem, please reopen.

@slfritchie slfritchie closed this Nov 16, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment