Don't index tombstones.

patch by Mikhail Stepura; reviewed by Aleksey Yeschenko for CASSANDRA-7828
This commit is contained in:
Mikhail Stepura 2014-09-08 12:01:37 -07:00
parent 8bef2609ab
commit 6860d6fad9
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
1.2.19
* Don't index tombstones (CASSANDRA-7828)
* Don't allow compacted sstables to be marked as compacting (CASSANDRA-7145)
* Track expired tombstones (CASSANDRA-7810)
* Validate empty cell names from counter updates (CASSANDRA-7798)

View File

@ -443,7 +443,7 @@ public class SecondaryIndexManager
{
for (IColumn column : cf)
{
if (index.indexes(column.name()))
if (column.isLive() && index.indexes(column.name()))
((PerColumnSecondaryIndex) index).insert(key, column);
}
}