[ 
https://issues.apache.org/jira/browse/CASSANDRA-21472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Konstantinov updated CASSANDRA-21472:
--------------------------------------------
    Description: we have asymmetry in BTree heap usage measurement: when we 
remove a complex column we measure heap size for inner BTree cells using 
org.apache.cassandra.utils.btree.BTree#sizeOnHeapOf which includes size maps. 
When we update a BTree by adding elements into it then we do not include size 
maps.

> MemtableReclaimMemory AssertionError: Negative released is possible in case 
> of non-leaf-only B-tree update
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-21472
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21472
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Local/Memtable
>            Reporter: Dmitry Konstantinov
>            Assignee: Dmitry Konstantinov
>            Priority: Normal
>
> we have asymmetry in BTree heap usage measurement: when we remove a complex 
> column we measure heap size for inner BTree cells using 
> org.apache.cassandra.utils.btree.BTree#sizeOnHeapOf which includes size maps. 
> When we update a BTree by adding elements into it then we do not include size 
> maps.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to