You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefania (JIRA)" <ji...@apache.org> on 2017/02/22 15:32:44 UTC

[jira] [Commented] (CASSANDRA-12100) Compactions are stuck after TRUNCATE

    [ https://issues.apache.org/jira/browse/CASSANDRA-12100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15878484#comment-15878484 ] 

Stefania commented on CASSANDRA-12100:
--------------------------------------

2.2.9 is closed, the next 2.2 release is 2.2.10.  The 2.2.x series is generally accepting only critical fixes, but this patch is so trivial and safe to backport that I think we can make an exception. The patch only fixes the compaction stats, nothing else, no real compaction is actually stuck and fixed by this patch.  [~s_delima] if you still want it in 2.2.10 I can start the tests:

||2.2||
|[patch|https://github.com/stef1927/cassandra/tree/12100-2.2]|
|[testall|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-12100-2.2-testall/]|
|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-12100-2.2-dtest/]|

Sorry for the late reply.

> Compactions are stuck after TRUNCATE
> ------------------------------------
>
>                 Key: CASSANDRA-12100
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12100
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Compaction
>            Reporter: Stefano Ortolani
>            Assignee: Stefania
>             Fix For: 3.0.9, 3.8
>
>         Attachments: node3_jstack.log
>
>
> Hi,
> since the upgrade to C* 3.0.7 I see compaction tasks getting stuck when truncating the column family. I verified this on all nodes of the cluster.
> Pending compactions seem to disappear after restarting the node.
> {noformat}
> root@node10:~# nodetool -h localhost compactionstats
> pending tasks: 6
>                                      id   compaction type              keyspace                table   completed      total    unit   progress
>    24e1ad30-3cac-11e6-870d-5de740693258        Compaction   		     schema		         table_1           0   57558382   bytes      0.00%
>    2be2e3b0-3cac-11e6-870d-5de740693258        Compaction   		     schema		         table_2           0   65063705   bytes      0.00%
>    54de38f0-3cac-11e6-870d-5de740693258        Compaction   		     schema		         table_3           0     187031   bytes      0.00%
>    31926ce0-3cac-11e6-870d-5de740693258        Compaction   		     schema		         table_4           0   42951119   bytes      0.00%
>    3911ad00-3cac-11e6-870d-5de740693258        Compaction   		     schema		         table_5           0   25918949   bytes      0.00%
>    3e6a8ab0-3cac-11e6-870d-5de740693258        Compaction   		     schema		         table_6           0   65466210   bytes      0.00%
> Active compaction remaining time :   0h00m15s
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)