You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Edward Capriolo (JIRA)" <ji...@apache.org> on 2014/03/20 15:48:43 UTC

[jira] [Commented] (CASSANDRA-6895) ArrayBackedSortedColumns removeInternal should update sortedsize

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

Edward Capriolo commented on CASSANDRA-6895:
--------------------------------------------

The only code that calls this method is the iterators. After the call they both manipulate the same internal variable. Why not manipulate that variable inside the removeInternal() ? 

> ArrayBackedSortedColumns removeInternal should update sortedsize
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-6895
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6895
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo
>
> I was trying to use ArrayBackedblabla directly and I noticed that while internalAdd updates the sorted size internal remove does not.
> https://github.com/edwardcapriolo/cassandra/compare/ArrayBackBackToCali?expand=1



--
This message was sent by Atlassian JIRA
(v6.2#6252)