You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Branimir Lambov (JIRA)" <ji...@apache.org> on 2016/08/19 09:19:20 UTC
[jira] [Created] (CASSANDRA-12502) ColumnIndex does not reuse
buffer
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)