cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [2/3] git commit: invert replace condition
Date Mon, 15 Jul 2013 22:09:07 GMT
invert replace condition


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

Branch: refs/heads/trunk
Commit: e7061901a108a9388f270323d327881fc83098ab
Parents: d614566
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Mon Jul 15 17:08:39 2013 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Mon Jul 15 17:08:39 2013 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/service/StorageService.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/e7061901/src/java/org/apache/cassandra/service/StorageService.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/StorageService.java b/src/java/org/apache/cassandra/service/StorageService.java
index e556306..1f7fcdf 100644
--- a/src/java/org/apache/cassandra/service/StorageService.java
+++ b/src/java/org/apache/cassandra/service/StorageService.java
@@ -655,7 +655,7 @@ public class StorageService extends NotificationBroadcasterSupport implements
IE
             if (logger.isDebugEnabled())
                 logger.debug("... got ring + schema info");
 
-            if (DatabaseDescriptor.isReplacing())
+            if (!DatabaseDescriptor.isReplacing())
             {
                 if (tokenMetadata.isMember(FBUtilities.getBroadcastAddress()))
                 {


Mime
View raw message