cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1152639 - /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageService.java
Date Sun, 31 Jul 2011 21:17:19 GMT
Author: jbellis
Date: Sun Jul 31 21:17:12 2011
New Revision: 1152639

URL: http://svn.apache.org/viewvc?rev=1152639&view=rev
Log:
s/"system"/Table.SYSTEM_TABLE/

Modified:
    cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageService.java

Modified: cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageService.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageService.java?rev=1152639&r1=1152638&r2=1152639&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageService.java
(original)
+++ cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageService.java
Sun Jul 31 21:17:12 2011
@@ -1370,7 +1370,7 @@ public class StorageService implements I
 
     public void forceTableCleanup(String tableName, String... columnFamilies) throws IOException,
ExecutionException, InterruptedException
     {
-        if (tableName.equals("system"))
+        if (tableName.equals(Table.SYSTEM_TABLE))
             throw new RuntimeException("Cleanup of the system table is neither necessary
nor wise");
 
         NodeId.OneShotRenewer nodeIdRenewer = new NodeId.OneShotRenewer();



Mime
View raw message