1. numessi
  2. riak

Commits

Andy Gross  committed 1aa8bb2

increase timeout on call to riak_vnode_master:get_exclusions

  • Participants
  • Parent commits f16f892
  • Branches default

Comments (0)

Files changed (1)

File apps/riak/src/riak_connect.erl

View file
         case {length(AllMembers), hd(AllMembers) =:= node()} of
             {1, true} -> riak_ring:my_indices(Ring);
             _ -> 
-                {ok, Excl} = gen_server:call(riak_vnode_master, get_exclusions),
+                {ok, Excl} = gen_server:call(riak_vnode_master, get_exclusions, 15000),
                 case riak_ring:random_other_index(Ring, Excl) of
                     no_indices ->
                         case length(Excl) =:= riak_ring:num_partitions(Ring) of