cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r782773 - in /incubator/cassandra/trunk/src/java/org/apache/cassandra: db/Table.java service/StorageService.java service/StorageServiceMBean.java
Date Mon, 08 Jun 2009 20:37:32 GMT
Author: jbellis
Date: Mon Jun  8 20:37:31 2009
New Revision: 782773

URL: http://svn.apache.org/viewvc?rev=782773&view=rev
Log:
rename Table.doGC to forceCleanup.  patch by Eric Evans; reviewed by jbellis for CASSANDRA-211

Modified:
    incubator/cassandra/trunk/src/java/org/apache/cassandra/db/Table.java
    incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java
    incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageServiceMBean.java

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/db/Table.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/db/Table.java?rev=782773&r1=782772&r2=782773&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/db/Table.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/db/Table.java Mon Jun  8 20:37:31
2009
@@ -485,7 +485,7 @@
     /** 
      * Do a cleanup of keys that do not belong locally.
      */
-    public void doGC()
+    public void forceCleanup()
     {
         Set<String> columnFamilies = tableMetadata_.getColumnFamilies();
         for ( String columnFamily : columnFamilies )

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java?rev=782773&r1=782772&r2=782773&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java Mon
Jun  8 20:37:31 2009
@@ -681,13 +681,13 @@
         doBootstrap(nodes);
     }
     
-    public void doGC()
+    public void forceTableCleanup()
     {
         List<String> tables = DatabaseDescriptor.getTables();
         for ( String tName : tables )
         {
             Table table = Table.open(tName);
-            table.doGC();
+            table.forceCleanup();
         }
     }
     

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageServiceMBean.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageServiceMBean.java?rev=782773&r1=782772&r2=782773&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageServiceMBean.java
(original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageServiceMBean.java
Mon Jun  8 20:37:31 2009
@@ -53,7 +53,7 @@
     /**
      * 
      */
-    public void doGC();
+    public void forceTableCleanup();
 
     /**
      * Stream the files in the bootstrap directory over to the



Mime
View raw message