basho/riak_kv — pull request #926 by andrewjstone (2014-04-23 20:49:49+00:00)
Title: Ensure nodes don't transition to exiting too soon

Add ready_to_exit/0 callback to riak_kv_vnode and
riak_kv_ensembles:local_ensembles/0 to ensure that nodes don't
transition from leaving to exiting while they still have ensemble peers
in use.