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

Jonathan Ellis commented on CASSANDRA-3929:
-------------------------------------------

Good idea putting the code in the index Builder!

It looks though that build() is only used when we can fit the row in memory, 
otherwise LazilyCompactedRow calls {{add}} directly (also called by {{build}}). 
 So I think you're going to need to move the retained row count into the 
Builder instance to maintain state across invocations.
                
> Support row size limits
> -----------------------
>
>                 Key: CASSANDRA-3929
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3929
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.2.1
>            Reporter: Jonathan Ellis
>            Assignee: Dave Brosius
>            Priority: Minor
>              Labels: ponies
>             Fix For: 1.2.1
>
>         Attachments: 3929_b.txt, 3929_c.txt, 3929.txt
>
>
> We currently support expiring columns by time-to-live; we've also had 
> requests for keeping the most recent N columns in a row.

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

Reply via email to