[
https://issues.apache.org/jira/browse/CASSANDRA-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13941785#comment-13941785
]
Edward Capriolo commented on CASSANDRA-6895:
--------------------------------------------
As its stands now anyone who happens to call removeInternal also has to know to
manipulate this variable separately. There is no coverage around the size or
sorted size, it make it very easy to use this class wrong.
> 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)