basho/riak_core — comment on commit 88229bb76006df8f67ad0ba3d799a9290d9093f1
File: src/riak_core_vnode_proxy.erl line 103
By rzezeski:

Could we have a process leak re vnodes? Imagine the following situation:

1. a vnode tells mgr to unregister it b/c it's finished handoff (i.e. sends unregister msg)

2. the mgr receives request, removes from state

3. the mgr sends ungregister msg to proxy

4. msg lands on proxy mailbox

5. proxy dies -- unregister msg is lost

6. vnode waits indefinitely for unregister msg to arrive, in the mean time using up a process and memory