cassandra icon indicating copy to clipboard operation
cassandra copied to clipboard

[CASSANDRA-17298][4.1] Improve accuracy of memtable heap usage tracking

Open netudima opened this issue 5 months ago • 0 comments

Fix estimateRowOverhead in Memtable: ByteBuffer in Partition key was not counted + slab byte[] array was included due removal of omitSharedBuffer Overhead Fix non-counted size of "columns" field in Columns.unsharedHeapSize BTree.sizeOfStructureOnHeap wrongly reported a non-zero size for EMPTY_LEAF shared constant value Fix MemtableSizeTest flakeness by not measuring of allocator and ColumnFamilyStore/Keyspace Add disablePreparedReuseForTest for every run of MemtableSizeTest test

Patch by Dmitry Konstantinov; reviewed by TBD for CASSANDRA-17298

netudima avatar Aug 27 '24 20:08 netudima