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:22:22 UTC
[jira] [Updated] (CASSANDRA-12502) ColumnIndex does not reuse
buffer
[ https://issues.apache.org/jira/browse/CASSANDRA-12502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Branimir Lambov updated CASSANDRA-12502:
----------------------------------------
Assignee: Robert Stupp (was: Branimir Lambov)
> 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
> Assignee: Robert Stupp
> 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)