src/java/org/apache/cassandra/db/compaction/LeveledManifest.java
/**
     * if the number of SSTables in the current compacted set *by itself* exeeds the target level's
     * (regardless of the level's current contents), find an empty level instead
     */
if the number of SSTables in the current compacted set *by itself* exeeds the target level's
(regardless of the level's current contents), find an empty level instead
if the number of SSTables in the current compacted set * by itself * exeeds the target level ' s ( regardless of the level ' s current contents ) find an empty level instead
private int skipLevels(int newLevel, Iterable<SSTableReader> added)
    {
        while (maxBytesForLevel(newLevel) < SSTableReader.getTotalBytes(added)
            && generations[(newLevel + 1)].isEmpty())
        {
            newLevel++;
        }
        return newLevel;
    }
private int skipLevels ( int newLevel , Iterable < SSTableReader > added ) { while ( maxBytesForLevel ( newLevel ) < SSTableReader . getTotalBytes ( added ) && generations [ ( newLevel + 1 ) ] . isEmpty ( ) ) { newLevel ++ ; } return newLevel ; }
if the number of SSTables in the current compacted set *by itself* exeeds the target level's
 (regardless of the level's current contents), find an empty level instead
if the number of SSTables in the current compacted set * by itself * exeeds the target level ' s ( regardless of the level ' s current contents ) find an empty level instead