cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r892927 - /incubator/cassandra/trunk/src/java/org/apache/cassandra/service/CassandraDaemon.java
Date Mon, 21 Dec 2009 18:51:37 GMT
Author: jbellis
Date: Mon Dec 21 18:51:36 2009
New Revision: 892927

URL: http://svn.apache.org/viewvc?rev=892927&view=rev
Log:
improve comments of cassandra startup code.  patch by jbellis

Modified:
    incubator/cassandra/trunk/src/java/org/apache/cassandra/service/CassandraDaemon.java

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/service/CassandraDaemon.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/service/CassandraDaemon.java?rev=892927&r1=892926&r2=892927&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/service/CassandraDaemon.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/service/CassandraDaemon.java Mon
Dec 21 18:51:36 2009
@@ -81,7 +81,7 @@
             }
         });
 
-        // initialize stuff
+        // initialize keyspaces
         for (String table : Table.getAllTableNames())
         {
             if (logger.isDebugEnabled())
@@ -93,9 +93,11 @@
         // replay the log if necessary
         RecoveryManager.doRecovery();
 
+        // start server internals
+        StorageService.instance().initServer();
+        
         // now we start listening for clients
         CassandraServer cassandraServer = new CassandraServer();
-        StorageService.instance().initServer();
         Cassandra.Processor processor = new Cassandra.Processor(cassandraServer);
 
         // Transport



Mime
View raw message