You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benedict (JIRA)" <ji...@apache.org> on 2014/02/05 16:58:10 UTC

[jira] [Updated] (CASSANDRA-6655) Writing mostly deletes to a Memtable results in undercounting the table's occupancy so it may not flush

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

Benedict updated CASSANDRA-6655:
--------------------------------

    Attachment: tmp.patch

Fairly simple patch that adds the dataSize of any RangeTombstoneList to the memtable currentSize.

Whilst this defect doesn't affect the 2.1 branch, this patch also reduces garbage generated when updating a memtable partition with pre-existing tombstones, which is probably worth forward-porting.


> Writing mostly deletes to a Memtable results in undercounting the table's occupancy so it may not flush
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6655
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6655
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Benedict
>            Priority: Minor
>             Fix For: 2.0.5
>
>         Attachments: tmp.patch
>
>
> In the extreme case of only deletes the memtable will never flush, and we will OOM.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)