You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jaroslaw Grabowski (Jira)" <ji...@apache.org> on 2023/03/09 11:59:00 UTC
[jira] [Assigned] (CASSANDRA-18311) BufferPool incorectly counts memoryInUse when putUnusedPortion is used
[ https://issues.apache.org/jira/browse/CASSANDRA-18311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jaroslaw Grabowski reassigned CASSANDRA-18311:
----------------------------------------------
Assignee: Jaroslaw Grabowski
> BufferPool incorectly counts memoryInUse when putUnusedPortion is used
> ----------------------------------------------------------------------
>
> Key: CASSANDRA-18311
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18311
> Project: Cassandra
> Issue Type: Bug
> Reporter: Jaroslaw Grabowski
> Assignee: Jaroslaw Grabowski
> Priority: Normal
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The counter is incorrectly decremented by the size of the unused portion of the provided buffer.
> It should be decremented by the number of bytes actually returned to the pool (that may be different than "size"). The number should be calculated as a difference between original and resulting buffer capacity.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org