basho/riak_core — pull request #117 by massung (2011-12-08 01:17:03+00:00)
Title: Start of handoff manager rework: supervision tree

Created the following supervision tree for handoffs:

````
riak_core_handoff_sup (one_for_all)
|
+ --> riak_core_handoff_manager (worker)
|
+ --> riak_core_handoff_listener_sup (one_for_one)
| |
| + --> riak_core_handoff_listener (worker)
|
+ --> riak_core_handoff_receiver_sup (simple_one_for_one)
| |
| + --> riak_core_handoff_receiver (worker)
|
+ --> riak_core_handoff_sender_sup (simple_one_for_one)
|
+ --> riak_core_handoff_sender (worker)
````

Updated riak_core_vnode.erl to start a sender via the sender supervisor and riak_core_handoff_listener to start a receiver via the receiver supervisor.