cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject cassandra git commit: rename
Date Tue, 17 Feb 2015 22:55:12 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk f6879b205 -> 48563e0be


rename


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

Branch: refs/heads/trunk
Commit: 48563e0be186dbeca2933f874d0030d7671d02ab
Parents: f6879b2
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Tue Feb 17 16:55:06 2015 -0600
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Tue Feb 17 16:55:06 2015 -0600

----------------------------------------------------------------------
 src/java/org/apache/cassandra/gms/Gossiper.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/48563e0b/src/java/org/apache/cassandra/gms/Gossiper.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/gms/Gossiper.java b/src/java/org/apache/cassandra/gms/Gossiper.java
index c34793c..4584044 100644
--- a/src/java/org/apache/cassandra/gms/Gossiper.java
+++ b/src/java/org/apache/cassandra/gms/Gossiper.java
@@ -152,7 +152,7 @@ public class Gossiper implements IFailureDetectionEventListener, GossiperMBean
                     boolean gossipedToSeed = doGossipToLiveMember(message);
 
                     /* Gossip to some unreachable member with some probability to check if
he is back up */
-                    doGossipToUnreachableMember(message);
+                    maybeGossipToUnreachableMember(message);
 
                     /* Gossip to a seed if we did not do so above, or we have seen less nodes
                        than there are seeds.  This prevents partitions where each group of
nodes
@@ -615,7 +615,7 @@ public class Gossiper implements IFailureDetectionEventListener, GossiperMBean
     }
 
     /* Sends a Gossip message to an unreachable member */
-    private void doGossipToUnreachableMember(MessageOut<GossipDigestSyn> message)
+    private void maybeGossipToUnreachableMember(MessageOut<GossipDigestSyn> message)
     {
         double liveEndpointCount = liveEndpoints.size();
         double unreachableEndpointCount = unreachableEndpoints.size();


Mime
View raw message