cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdusba...@apache.org
Subject svn commit: r931943 - /cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java
Date Thu, 08 Apr 2010 13:48:29 GMT
Author: gdusbabek
Date: Thu Apr  8 13:48:29 2010
New Revision: 931943

URL: http://svn.apache.org/viewvc?rev=931943&view=rev
Log:
announce version early during startup. Patch by Gary Dusbabek, reviewed by Jonathan Ellis.
CASSANDRA-962

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=931943&r1=931942&r2=931943&view=diff
==============================================================================
--- cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java (original)
+++ cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java Thu Apr  8 13:48:29
2010
@@ -336,6 +336,8 @@ public class StorageService implements I
         MessagingService.instance.listen(FBUtilities.getLocalAddress());
 
         StorageLoadBalancer.instance.startBroadcasting();
+        
+        MigrationManager.announce(DatabaseDescriptor.getDefsVersion(), DatabaseDescriptor.getSeeds());
 
         // have to start the gossip service before we can see any info on other nodes.  this
is necessary
         // for bootstrap to get the load info it needs.



Mime
View raw message