basho/riak_kv — pull request #454 by Vagabond (2012-12-18 17:42:09+00:00)
Title: Try to make KV shutdown cleaner

Unregister PB services and Webmachine routes and wait for any active put
FSMs to complete.

The goal of this is to prevent writes from continuing to happen while KV is stopping. Once we mark the service down and unregister http/pb endpoints, the node can no longer service client writes or act as the coordinating node for puts.