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

Paulo Motta commented on CASSANDRA-10341:
-----------------------------------------

bq. we can constuct ranges of partition keys and Iterate over keys after adding 
SSTables in row cache and check if key is in ranges, we can drop cache.

nice, thanks! I guess key range invalidation is the way to go, since keeping a 
copy of keys in memory could be costly for large streams.

> Streaming does not guarantee cache invalidation
> -----------------------------------------------
>
>                 Key: CASSANDRA-10341
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10341
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Benedict
>            Assignee: Paulo Motta
>
> Looking at the code, we attempt to invalidate the row cache for any rows we 
> receive via streaming, however we invalidate them immediately, before the new 
> data is available. So, if it is requested (which is likely if it is "hot") in 
> the interval, it will be re-cached and not invalidated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to