cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1179873 - /cassandra/branches/cassandra-1.0.0/src/java/org/apache/cassandra/db/compaction/LeveledManifest.java
Date Thu, 06 Oct 2011 21:52:08 GMT
Author: jbellis
Date: Thu Oct  6 21:52:07 2011
New Revision: 1179873

URL: http://svn.apache.org/viewvc?rev=1179873&view=rev
Log:
r/m unused code

Modified:
    cassandra/branches/cassandra-1.0.0/src/java/org/apache/cassandra/db/compaction/LeveledManifest.java

Modified: cassandra/branches/cassandra-1.0.0/src/java/org/apache/cassandra/db/compaction/LeveledManifest.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-1.0.0/src/java/org/apache/cassandra/db/compaction/LeveledManifest.java?rev=1179873&r1=1179872&r2=1179873&view=diff
==============================================================================
--- cassandra/branches/cassandra-1.0.0/src/java/org/apache/cassandra/db/compaction/LeveledManifest.java
(original)
+++ cassandra/branches/cassandra-1.0.0/src/java/org/apache/cassandra/db/compaction/LeveledManifest.java
Thu Oct  6 21:52:07 2011
@@ -425,8 +425,6 @@ public class LeveledManifest
         for (int i = generations.length - 1; i >= 0; i--)
         {
             List<SSTableReader> sstables = generations[i];
-            if (sstables.isEmpty())
-                continue;
             n += Math.max(0L, SSTableReader.getTotalBytes(sstables) - maxBytesForLevel(i))
/ (maxSSTableSizeInMB * 1024 * 1024);
         }
         return n;



Mime
View raw message