Branimir Lambov created CASSANDRA-12502:
-------------------------------------------

             Summary: ColumnIndex does not reuse buffer
                 Key: CASSANDRA-12502
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12502
             Project: Cassandra
          Issue Type: Bug
          Components: Local Write-Read Paths
            Reporter: Branimir Lambov
            Priority: Minor


{{ColumnIndex}} is supposed to be reusing its shallow entry buffer. Instead it 
always allocates as {{buffer}} isn't returned [from 
{{useBuffer}}|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/ColumnIndex.java#L227].

Additionally, relying on caller to set {{buffer}} after the call is error-prone.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to