cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-8746) SSTableReader.cloneWithNewStart can drop too much page cache for compressed files
Date Fri, 13 Mar 2015 17:54:39 GMT

    [ 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)

Mime
View raw message