You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2013/05/31 17:31:10 UTC

git commit: yaml snitch checks for reconn in onChange

Updated Branches:
  refs/heads/trunk 1ea5059fe -> f6e08ddf0


yaml snitch checks for reconn in onChange


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/f6e08ddf
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/f6e08ddf
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/f6e08ddf

Branch: refs/heads/trunk
Commit: f6e08ddf0560fab0193527ddcde842e2c8222483
Parents: 1ea5059
Author: Brandon Williams <br...@apache.org>
Authored: Fri May 31 10:30:50 2013 -0500
Committer: Brandon Williams <br...@apache.org>
Committed: Fri May 31 10:30:50 2013 -0500

----------------------------------------------------------------------
 .../locator/YamlFileNetworkTopologySnitch.java     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/f6e08ddf/src/java/org/apache/cassandra/locator/YamlFileNetworkTopologySnitch.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/locator/YamlFileNetworkTopologySnitch.java b/src/java/org/apache/cassandra/locator/YamlFileNetworkTopologySnitch.java
index e9908f2..d258b90 100644
--- a/src/java/org/apache/cassandra/locator/YamlFileNetworkTopologySnitch.java
+++ b/src/java/org/apache/cassandra/locator/YamlFileNetworkTopologySnitch.java
@@ -551,7 +551,7 @@ public class YamlFileNetworkTopologySnitch
             public void onChange(final InetAddress endpoint,
                     final ApplicationState state, final VersionedValue value)
             {
-                // No-op
+                reconnectViaPreferredAddress(endpoint);
             }
 
             /**