[
https://issues.apache.org/jira/browse/CASSANDRA-10341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14969144#comment-14969144
]
Paulo Motta commented on CASSANDRA-10341:
-----------------------------------------
Thanks for the review. Updated patches with suggested changes - tests are still
running.
Basically, created and tested utility method
{{Bounds.getNonOverlappingBounds()}} which is now used by
{{ColumnFamilyStore.invalidateRowCache}} before iterating on bounds. Also
modified naming from inclusive ranges to bounds.
> 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
> Fix For: 2.1.x, 2.2.x, 3.0.x
>
>
> 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)