Skip to content
Browse files

Fix incorrect merge of claim deltas and default

  • Loading branch information...
1 parent cf3fa0d commit 7959860b7269050ea8ee216bbe955ddcc3436c7c @jtuple jtuple committed Jun 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/riak_core_claim.erl
View
2 src/riak_core_claim.erl
@@ -678,7 +678,7 @@ add_default_deltas(IdxOwners, Deltas, Default) ->
{_, Owners} = lists:unzip(IdxOwners),
Owners2 = lists:usort(Owners),
Defaults = [{Member, Default} || Member <- Owners2],
- lists:usort(Deltas ++ Defaults).
+ lists:ukeysort(1, Deltas ++ Defaults).
%% @private
get_expected_partitions(Ring, Node) ->

0 comments on commit 7959860

Please sign in to comment.
Something went wrong with that request. Please try again.