basho/riak_core — pull request #209 by russelldb (2012-07-17 18:19:17+00:00)
Title: Don't crash the cache when a stat mod crashes

Since calls to calculate stats are spawn_linked to ensure
that the calculating processes exits if the cache exits, the cache
will crash if a spawned process exits. This is bad. This change
traps_exits on spawned processes and enforms awaiting callers of
the error, without crashing the cache or effecting other registered
mods.