Skip to content

Commit

Permalink
Only use first 3 nodes for seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Aug 4, 2015
1 parent a9fe0c2 commit 0a331ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
if xs.empty?
node['ipaddress']
else
xs.map { |n| n['ipaddress'] }
xs.take(3).map { ['ipaddress'] }

This comment has been minimized.

Copy link
@sethrosenblum

sethrosenblum Aug 4, 2015

Collaborator

These would need to be sorted somehow first, our you could end up with a disjointed cluster.

end
end
default['cassandra']['enable_assertions'] = true
Expand Down

0 comments on commit 0a331ff

Please sign in to comment.