You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benedict (JIRA)" <ji...@apache.org> on 2015/03/13 18:54:39 UTC

[jira] [Comment Edited] (CASSANDRA-8746) SSTableReader.cloneWithNewStart can drop too much page cache for compressed files

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

Benedict edited comment on CASSANDRA-8746 at 3/13/15 5:53 PM:
--------------------------------------------------------------

Patch available [here|https://github.com/belliottsmith/cassandra/tree/8746]

Basically I just move the dropPageCache() call inside of SegmentedFile (which is better encapsulation anyway); the compressed versions override this to lookup the start position of the relevant segment and only drop data prior to this


was (Author: benedict):
Patch available [here|github.com/belliottsmith/cassandra/tree/8746]

Basically I just move the dropPageCache() call inside of SegmentedFile (which is better encapsulation anyway); the compressed versions override this to lookup the start position of the relevant segment and only drop data prior to this

> SSTableReader.cloneWithNewStart can drop too much page cache for compressed files
> ---------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8746
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8746
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Benedict
>            Assignee: Benedict
>            Priority: Trivial
>             Fix For: 2.1.4
>
>




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