Commit facbb4a2 authored by DeepakVerma's avatar DeepakVerma

check the endpoints are actually equal to populate the cluster master and slave nodes correctly

parent 730854ac
......@@ -214,7 +214,7 @@ public void SetClusterConfiguration(ClusterConfiguration configuration)
multiplexer.Trace("Updating cluster ranges...");
multiplexer.UpdateClusterRange(configuration);
multiplexer.Trace("Resolving genealogy...");
var thisNode = configuration.Nodes.FirstOrDefault(x => x.EndPoint == this.EndPoint);
var thisNode = configuration.Nodes.FirstOrDefault(x => x.EndPoint.Equals(this.EndPoint));
if (thisNode != null)
{
List<ServerEndPoint> slaves = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment