You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alex Zarutin (JIRA)" <ji...@apache.org> on 2013/06/30 04:58:20 UTC

[jira] [Updated] (CASSANDRA-5466) Compaction task eats 100% CPU for a long time for tables with collection typed columns

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

Alex Zarutin updated CASSANDRA-5466:
------------------------------------

    Assignee: Alex Zarutin  (was: Ryan McGuire)
    
> Compaction task eats 100% CPU for a long time for tables with collection typed columns
> --------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5466
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5466
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.4
>         Environment: ubuntu 12.10, sun-6-java 1.6.0.37, Core-i7, 8GB RAM
>            Reporter: Alexey Tereschenko
>            Assignee: Alex Zarutin
>
> For the table:
> {code:sql}
> create table test (
>         user_id bigint,
>         first_list list<bigint>,
>         second_list list<bigint>,
>         third_list list<bigint>,
>         PRIMARY KEY (user_id)
> );
> {code}
> I do thousands of updates like the following:
> {code:sql}
> UPDATE test SET first_list = [1], second_list = [2], third_list = [3] WHERE user_id = ?;
> {code}
> In several minutes a compaction task starts running. {{nodetool compactionstats}} shows that remaining time is 2 seconds but in fact it can take hours to really complete the compaction tasks. And during that time Cassandra consumes 100% of CPU and slows down so significally that it gives connection timeout exceptions to any client code trying to establish connection with Cassandra. This happens only with tables with collection typed columns.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira