cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ariel Weisberg (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-10511) Index summary downsampling prevents mmap access of large files after restart
Date Wed, 28 Oct 2015 19:48:28 GMT

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

Ariel Weisberg edited comment on CASSANDRA-10511 at 10/28/15 7:47 PM:
----------------------------------------------------------------------

Do we also need to fix this for files that have broken summaries already? --I am going to
check, but I think that you don't any portion of the file mapped if the bounds aren't set
correctly.-- I checked and you don't get any mappings at all if the boundaries are not saved.

|[2.2 code|https://github.com/apache/cassandra/compare/apache:cassandra-2.2...aweisberg:CASSANDRA-10511-2.2?expand=1]|[utests|http://cassci.datastax.com/view/Dev/view/aweisberg/job/aweisberg-CASSANDRA-10511-2.2-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/aweisberg/job/aweisberg-CASSANDRA-10511-2.2-dtest/]|
|[2.1 code|https://github.com/apache/cassandra/compare/apache:cassandra-2.1...aweisberg:CASSANDRA-10511-2.1?expand=1]|[utests|http://cassci.datastax.com/view/Dev/view/aweisberg/job/aweisberg-CASSANDRA-10511-2.1-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/aweisberg/job/aweisberg-CASSANDRA-10511-2.1-dtest/]|


was (Author: aweisberg):
Do we also need to fix this for files that have broken summaries already? I am going to check,
but I think that you don't any portion of the file mapped if the bounds aren't set correctly.

|[2.2 code|https://github.com/apache/cassandra/compare/apache:cassandra-2.2...aweisberg:CASSANDRA-10511-2.2?expand=1]|[utests|http://cassci.datastax.com/view/Dev/view/aweisberg/job/aweisberg-CASSANDRA-10511-2.2-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/aweisberg/job/aweisberg-CASSANDRA-10511-2.2-dtest/]|
|[2.1 code|https://github.com/apache/cassandra/compare/apache:cassandra-2.1...aweisberg:CASSANDRA-10511-2.1?expand=1]|[utests|http://cassci.datastax.com/view/Dev/view/aweisberg/job/aweisberg-CASSANDRA-10511-2.1-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/aweisberg/job/aweisberg-CASSANDRA-10511-2.1-dtest/]|

> Index summary downsampling prevents mmap access of large files after restart
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-10511
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10511
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Benedict
>            Assignee: Ariel Weisberg
>             Fix For: 2.1.x, 2.2.x, 3.1
>
>
> {{SSTableReader.cloneWithNewSummarySampleLevel}} constructs a {{SegmentedFile.Builder}}
but never populates it with any boundaries. For files larger than 2Gb, this will result in
their being accessed via buffered io after a restart.



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

Mime
View raw message