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 2016/08/05 01:47:20 UTC

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

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

Stefania updated CASSANDRA-12100:
---------------------------------
    Status: Patch Available  (was: In Progress)

I could not reproduce the problem despite the multiplexed run. There were several compaction interrupted exceptions, but none thrown at the line that would have caused the compaction stats to get stuck.

Nonetheless I think we should commit this patch anyway since it clearly fixes a problem. 

It is trivial and it up-merges without conflicts, so I did not run CI on 3.9 and trunk, but I can do so if required.

> 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.x
>
>         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.4#6332)