cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject svn commit: r1068940 - /cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/gms/Gossiper.java
Date Wed, 09 Feb 2011 15:41:06 GMT
Author: brandonwilliams
Date: Wed Feb  9 15:41:06 2011
New Revision: 1068940

URL: http://svn.apache.org/viewvc?rev=1068940&view=rev
Log:
fix repeating log message

Modified:
    cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/gms/Gossiper.java

Modified: cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/gms/Gossiper.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/gms/Gossiper.java?rev=1068940&r1=1068939&r2=1068940&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/gms/Gossiper.java (original)
+++ cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/gms/Gossiper.java Wed Feb
 9 15:41:06 2011
@@ -434,9 +434,11 @@ public class Gossiper implements IFailur
                         epState.setHasToken(true);
                     else
                     {
-                        logger_.info("FatClient " + endpoint + " has been silent for " +
FatClientTimeout_ + "ms, removing from gossip");
                         if (!justRemovedEndpoints_.containsKey(endpoint)) // if the node
was decommissioned, it will have been removed but still appear as a fat client
+                        {
+                            logger_.info("FatClient " + endpoint + " has been silent for
" + FatClientTimeout_ + "ms, removing from gossip");
                             removeEndpoint(endpoint); // after quarantine justRemoveEndpoints
will remove the state
+                        }
                     }
                 }
 



Mime
View raw message