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

Reply via email to