Permalink
Browse files

merge

  • Loading branch information...
Bryan Fink
Bryan Fink committed Jun 3, 2010
2 parents f9ea007 + 8914203 commit f6cef19782595e2fe70ca0f1fd7e507b9735dffd
Showing with 6 additions and 0 deletions.
  1. +6 −0 apps/riak_core/src/riak_core_ring_manager.erl
@@ -192,6 +192,12 @@ handle_call({ring_trans, Fun, Args}, _From, State) ->
case catch Fun(Ring, Args) of
{new_ring, NewRing} ->
mochiglobal:put(?RING_KEY, NewRing),
+ case riak_core_ring:random_other_node(NewRing) of
+ no_node ->
+ ignore;
+ Node ->
+ riak_core_gossip:send_ring(Node)
+ end,
riak_core_ring_events:ring_update(NewRing),
{reply, {ok, NewRing}, State};
ignore ->

0 comments on commit f6cef19

Please sign in to comment.