cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Git at Apache <>
Subject cassandra pull request: Provide initial size for ColumnFamily object.
Date Thu, 03 May 2012 06:16:51 GMT
GitHub user akolyadenko opened the pull request at

Provide initial size for ColumnFamily object.

It's fix for
The problem there is that when ColumnFamily got all columns deleted, the size() method returns
0 despite the fact that actual object size is at least 40 bytes. 
It affects calculations of whole Memtable size. In my case I deleted millions of columns and
Cassandra didn't calculate Memtable size correctly, and didn't flush it. It caused OOM crash
of DB.

You can merge this pull request into a Git repository by running
$ git pull trunk

Alternatively you can review and apply these changes as the patch at

View raw message