Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Correctness
-
Normal
-
Low Hanging Fruit
-
Code Inspection
-
All
-
None
-
Description
Unshared heap size excluding data calculation is broken.
For example, it does not takes into consideration whether the buffers are on-heap or off-heap - empty offheap buffer is 64-bytes while empty heap buffer is 48-bytes.
It matters especially when we have offheap buffers-based memtables.
Attachments
Issue Links
- is caused by
-
CASSANDRA-16900 org.apache.cassandra.db.rows.ArrayCell#unsharedHeapSizeExcludingData includes data twice
- Resolved