cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject svn commit: r1177810 - /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/SystemTable.java
Date Fri, 30 Sep 2011 20:14:03 GMT
Author: brandonwilliams
Date: Fri Sep 30 20:14:03 2011
New Revision: 1177810

URL: http://svn.apache.org/viewvc?rev=1177810&view=rev
Log:
Flush system table after updating or removing tokens.
Patch by brandonwilliams, reviewed by Ben Coverston for CASSANDRA-3243

Modified:
    cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/SystemTable.java

Modified: cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/SystemTable.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/SystemTable.java?rev=1177810&r1=1177809&r2=1177810&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/SystemTable.java (original)
+++ cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/SystemTable.java Fri
Sep 30 20:14:03 2011
@@ -113,6 +113,7 @@ public class SystemTable
         {
             throw new IOError(e);
         }
+        forceBlockingFlush(STATUS_CF);
     }
 
     /**
@@ -131,6 +132,7 @@ public class SystemTable
         {
             throw new IOError(e);
         }
+        forceBlockingFlush(STATUS_CF);
     }
 
     /**



Mime
View raw message