Commits

jus...@basho.com  committed 82a6ca9 Merge

merge

  • Participants
  • Parent commits bdf95c0, 2deb701

Comments (0)

Files changed (1)

File src/riak_ring.erl

 % @doc Return a randomly-chosen node from amongst the owners.
 % @spec random_node(State :: chstate()) -> Node :: term()
 random_node(State) ->
-    L = lists:usort(all_members(State)),
+    L = all_members(State),
     lists:nth(crypto:rand_uniform(1, length(L)+1), L).
 
 % @doc Provide all ownership information in the form of {Index,Node} pairs.