375
375
State2 = prune_write_notify_ring(Ring, State),
377
377
handle_call(refresh_my_ring, _From, State) ->
378
382
%% This node is leaving the cluster so create a fresh ring file
379
383
FreshRing = riak_core_ring:fresh(),
382
389
ok = do_write_ringfile(FreshRing),
384
391
%% Handoff is complete and fresh ring is written