cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2325) invalidateKeyCache / invalidateRowCache should remove saved cache files from disk
Date Fri, 05 Aug 2011 20:25:27 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080198#comment-13080198
] 

Jonathan Ellis commented on CASSANDRA-2325:
-------------------------------------------

The row cache doesn't actually save row contents, just keys that are re-populated on startup.
 (Otherwise every write would have to update the cache file too.)

> invalidateKeyCache / invalidateRowCache should remove saved cache files from disk
> ---------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2325
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2325
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 0.7.8, 0.8.2
>            Reporter: Matthew F. Dennis
>            Assignee: Edward Capriolo
>            Priority: Minor
>         Attachments: cassandra-2325-1.patch.txt
>
>
> the invalidate[Key|Row]Cache calls don't remove the saved caches from disk.
> It seems logical that if you are clearing the caches you don't expect them to be reinstantiated
with the old values the next time C* starts.
> This is not a huge issue since next time the caches are saved the old values will be
removed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message