cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4942) Pool [Compressed]RandomAccessReader on the partitioned read path
Date Sat, 10 Nov 2012 16:05:12 GMT

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

Jonathan Ellis commented on CASSANDRA-4942:
-------------------------------------------

bq. it should be done transparently so we don't duplicate the code in getSegment per implementation

You're right, fixed + pushed to github.

bq. I don't like involving PooledSegmentedFile inside of RAR as well

Point taken, but since the proposed alternative is a global Map, I do think this is cleaner.
 (You are right that Threadlocal makes cleanup too asynchronous, so I withdraw that suggestion.)
                
> Pool [Compressed]RandomAccessReader on the partitioned read path
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-4942
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4942
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.2.1
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message