basho/riak_core — pull request #259 by jtuple (2012-12-17 18:43:02+00:00)
Title: Adjust riak_core_sup child order for cleaner shutdown

The child definition for riak_core_handoff_manager is incorrect, starting before several other components that it depends upon. These dependency violations aren't hit in startup, but do occasionally trigger errors at shutdown. When Riak fails to shutdown cleanly, BEAM will delay shutdown by an additional 10 minutes or so. This pull-request moves the riak_core_handoff_manager definition lower in the child definition list to fix this issue.