cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabien Rousseau (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-6351) When dropping a CF, row cache is not invalidated
Date Fri, 15 Nov 2013 14:49:21 GMT
Fabien Rousseau created CASSANDRA-6351:
------------------------------------------

             Summary: When dropping a CF, row cache is not invalidated
                 Key: CASSANDRA-6351
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6351
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Fabien Rousseau
            Priority: Trivial
         Attachments: 0001-invalidate-row-cache-when-dropping-CF.patch

When dropping a ColumnFamily with row cache enabled, then row cache is not invalidated for
this CF.

This can be a bit annoying if the ColumnFamily is recreated because it will be empty, but
row cache won't.
Note : this is similar to a "TRUNCATE" command (and TRUNCATE does invalidate the cache...)

Attached is patch which removes the rows of the currently dropped CF from row cache.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message