Skip to content

Commit

Permalink
experiment
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <tsfarr@amazon.com>
  • Loading branch information
Xtansia committed Aug 15, 2024
1 parent dcf8c69 commit 5fa7d54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ protected ClusterBase(TConfiguration clusterConfiguration)
var nodes = nodeConfigs
.Select(config =>
{
config.SeedHosts("127.0.0.1");
config.SeedHosts(string.Join(",", nodeConfigs.Where(n => n.DesiredNodeName != config.DesiredNodeName).Select(n => $"localhost:{(n.DesiredPort ?? 9200) + 100}")));
config.InitialClusterManagerNodes(initialClusterManagerNodes);
ModifyNodeConfiguration(config, config.DesiredPort ?? 9200);
Expand Down

0 comments on commit 5fa7d54

Please sign in to comment.