On Fri, Mar 11, 2016 at 10:05 PM, Dikang Gu <dikan...@gmail.com> wrote:

> RocksDB has the feature called "Compaction Filter" to allow application to
> modify/delete a key-value during the background compaction.
> https://github.com/facebook/rocksdb/blob/v4.1/include/rocksdb/options.h#L201-L226
>
> I'm wondering is there a plan/value to add this into C* as well? Or is
> there already a similar thing in C*?
>

I think it's far more reasonable to do this via an offline tool such as
"sstablefilter" :

https://issues.apache.org/jira/browse/CASSANDRA-1581

I used the internal Digg version of this to purge a bunch of obsolete keys
from a multi-tenancy CF (bad practice). It worked great.

=Rob

Reply via email to