You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Lock file staleness check could be more robust [JIRA: RIAK-2230] #226
A few days ago, we started getting {error,locked} errors on certain puts in a development environment. After some digging, I found that bitcask_lockops:delete_stale_lock/1 was incorrectly returning not_stale for bitcask.write.lock files when the pid had been reassigned (in our case to a rabbitmq beam process.) This is because it uses kill -0, which merely verifies a process' existence, not its identity.
A workaround is to stop Riak and delete all bitcask.write.lock files.
changed the title [-]Lock file staleness check could be more robust[/-][+]Lock file staleness check could be more robust [JIRA: RIAK-2230][/+]on Oct 16, 2015
Activity
[-]Lock file staleness check could be more robust[/-][+]Lock file staleness check could be more robust [JIRA: RIAK-2230][/+]Fixes basho#72 basho#226 and basho/riak#535 Robustify bitcask lock fi…