[
https://issues.apache.org/jira/browse/CASSANDRA-12100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15407313#comment-15407313
]
Stefania commented on CASSANDRA-12100:
--------------------------------------
I've prepared the fix for the problem mentioned above:
|3.0|[patch|https://github.com/stef1927/cassandra/commits/12100-3.0]|[testall|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-12100-3.0-testall/]|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-12100-3.0-dtest/]|
I've also written [this
test|https://github.com/stef1927/cassandra-dtest/commits/12100] to try an
reproduce the issue. It iterates 40 times, each time starting compactions on 5
nodes and a truncate request from cqlsh on one of the nodes, at randomized
times during the same second.
I'm running a multiplex job
[here|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-dtest-multiplex/1/],
it should run the test 25 times, giving a total of 1000 iterations.
> 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)