cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Morton (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-2519) row deletions do not add to memtable op count
Date Wed, 20 Apr 2011 10:59:05 GMT

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

Aaron Morton updated CASSANDRA-2519:
------------------------------------

    Attachment: 0001-include-row-deletions-in-memtable-op-count.patch

patch 0001 adds to the memtable op count if the CF contains zero columns and cf.isMarkedForDeletion()

> row deletions do not add to memtable op count
> ---------------------------------------------
>
>                 Key: CASSANDRA-2519
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2519
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.4
>            Reporter: Aaron Morton
>            Assignee: Aaron Morton
>         Attachments: 0001-include-row-deletions-in-memtable-op-count.patch
>
>
> from discussion http://www.mail-archive.com/user@cassandra.apache.org/msg12531.html
> Memtable.resolve() uses the count of columns in the CF to bump the op count however RowMutation.delete()
does not add any columns to the CF when an entire row is deleted. If a super column or column
is deleted it adds 1 towards the op count. Deleting many named columns will add many to the
op count. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message