Small fix for riak_ring_manager crashing on empty ring_state_dir

Martin Scholl ms at
Wed Oct 7 03:57:51 EDT 2009

Hello all,

since I don't know what the expected procedure for suggesting fixes is,
I send the diff to this list.

Attached you will find a HG-diff. Without the fix, riak_ring_manager
constantly crashes in prune_list/1 after booting a virgin riak
installation; prune_list/1 expects a non-empty list of ringstate
filenames. Another obvious fix is to extend prune_list/1 with another
clause to match on empty lists.

The attached change is also available via the bitbucket repository

-------------- next part --------------
A non-text attachment was scrubbed...
Name: riak-b0a989a9488f.diff
Type: text/x-patch
Size: 761 bytes
Desc: not available
URL: <>

More information about the riak-users mailing list