You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aaron Morton (JIRA)" <ji...@apache.org> on 2011/04/20 12:47:05 UTC

[jira] [Created] (CASSANDRA-2519) row deletions do not add to memtable op count

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


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

[jira] [Issue Comment Edited] (CASSANDRA-2519) row deletions do not add to memtable op count

Posted by "Aaron Morton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022073#comment-13022073 ] 

Aaron Morton edited comment on CASSANDRA-2519 at 4/20/11 10:59 AM:
-------------------------------------------------------------------

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

      was (Author: amorton):
    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
>             Fix For: 0.7.5
>
>         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

[jira] [Updated] (CASSANDRA-2519) row deletions do not add to memtable op count

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-2519:
--------------------------------------

             Priority: Minor  (was: Major)
    Affects Version/s:     (was: 0.7.4)
                       0.7.0

> 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.0
>            Reporter: Aaron Morton
>            Assignee: Aaron Morton
>            Priority: Minor
>             Fix For: 0.7.5
>
>         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

[jira] [Commented] (CASSANDRA-2519) row deletions do not add to memtable op count

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022194#comment-13022194 ] 

Hudson commented on CASSANDRA-2519:
-----------------------------------

Integrated in Cassandra-0.7 #450 (See [https://builds.apache.org/hudson/job/Cassandra-0.7/450/])
    count a row deletionas one operation towards memtable threshold
patch by Aaron Morton; reviewed by jbellis for CASSANDRA-2519


> 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.0
>            Reporter: Aaron Morton
>            Assignee: Aaron Morton
>            Priority: Minor
>             Fix For: 0.7.5
>
>         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

[jira] [Updated] (CASSANDRA-2519) row deletions do not add to memtable op count

Posted by "Aaron Morton (JIRA)" <ji...@apache.org>.
     [ 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