cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1000592 - /cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java
Date Thu, 23 Sep 2010 19:28:28 GMT
Author: jbellis
Date: Thu Sep 23 19:28:28 2010
New Revision: 1000592

URL: http://svn.apache.org/viewvc?rev=1000592&view=rev
Log:
fix setting bootstrap status on startup.
patch by jbellis; reviewed by brandonwilliams for CASSANDRA-1534

Modified:
    cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java

Modified: cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java
URL: http://svn.apache.org/viewvc/cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java?rev=1000592&r1=1000591&r2=1000592&view=diff
==============================================================================
--- cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java (original)
+++ cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java Thu Sep 23 19:28:28
2010
@@ -431,7 +431,7 @@ public class StorageService implements I
     {
         isBootstrapMode = true;
         SystemTable.updateToken(token); // DON'T use setToken, that makes us part of the
ring locally which is incorrect until we are done bootstrapping
-        Gossiper.instance.addLocalApplicationState(ApplicationState.STATUS, valueFactory.normal(token));
+        Gossiper.instance.addLocalApplicationState(ApplicationState.STATUS, valueFactory.bootstrapping(token));
         setMode("Joining: sleeping " + RING_DELAY + " ms for pending range setup", true);
         try
         {



Mime
View raw message