You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stu Hood (JIRA)" <ji...@apache.org> on 2011/04/07 08:07:05 UTC

[jira] [Commented] (CASSANDRA-2313) CommutativeRowIndexer always read full row in memory

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

Stu Hood commented on CASSANDRA-2313:
-------------------------------------

+1
This looks good, thanks Sylvain.

> CommutativeRowIndexer always read full row in memory
> ----------------------------------------------------
>
>                 Key: CASSANDRA-2313
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2313
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 0.8
>
>         Attachments: 0001-Introduce-CompactionController-to-handler-compaction-v2.patch, 0001-Introduce-CompactionController-to-handler-compaction.patch, 0002-Make-CommutativeRowIndexer-uses-AbstractCompactionRo-v2.patch, 0002-Make-CommutativeRowIndexer-uses-AbstractCompactionRo.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> CommutativeRowIndexer use CFSerializer.deserializeColumns() that read the full row in memory. We should use PreCompactedRow/LazilyCompactedRow instead to avoid this on huge row.
> As an added benefit, using PreCompactedRow will avoid a current seek back to write the row size.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira