Merge branch 'cassandra-2.1' into trunk

This commit is contained in:
Marcus Eriksson 2015-01-22 15:51:25 +01:00
commit 10b8a765be
2 changed files with 9 additions and 4 deletions

View File

@ -55,6 +55,8 @@
2.1.3
* Make sure we don't add tmplink files to the compaction
strategy (CASSANDRA-8580)
* (cqlsh) Handle maps with blob keys (CASSANDRA-8372)
* (cqlsh) Handle DynamicCompositeType schemas correctly (CASSANDRA-8563)
* Add tooling to detect hot partitions (CASSANDRA-7974)

View File

@ -323,10 +323,13 @@ public final class WrappingCompactionStrategy extends AbstractCompactionStrategy
super.startup();
for (SSTableReader sstable : cfs.getSSTables())
{
if (sstable.isRepaired())
repaired.addSSTable(sstable);
else
unrepaired.addSSTable(sstable);
if (sstable.openReason != SSTableReader.OpenReason.EARLY)
{
if (sstable.isRepaired())
repaired.addSSTable(sstable);
else
unrepaired.addSSTable(sstable);
}
}
repaired.startup();
unrepaired.startup();