Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 65189200B44 for ; Wed, 29 Jun 2016 23:25:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 63A55160A3C; Wed, 29 Jun 2016 21:25:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B2121160A57 for ; Wed, 29 Jun 2016 23:25:11 +0200 (CEST) Received: (qmail 23679 invoked by uid 500); 29 Jun 2016 21:25:10 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 23562 invoked by uid 99); 29 Jun 2016 21:25:10 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2016 21:25:10 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 776B92C02A0 for ; Wed, 29 Jun 2016 21:25:10 +0000 (UTC) Date: Wed, 29 Jun 2016 21:25:10 +0000 (UTC) From: "Stefano Ortolani (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CASSANDRA-12100) Compactions are stuck after TRUNCATE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 29 Jun 2016 21:25:12 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15355799#comment-15355799 ] Stefano Ortolani edited comment on CASSANDRA-12100 at 6/29/16 9:24 PM: ----------------------------------------------------------------------- Also, in the logs this time I can see the following. {noformat} INFO [CompactionExecutor:529] 2016-06-29 19:17:49,255 CompactionManager.java:1518 - Compaction interrupted: Compaction@685a9350-14a3-11e6-9af3-cdff32bdcb0d(schema, table_1, 0/97492039)bytes INFO [CompactionExecutor:529] 2016-06-29 19:17:51,050 CompactionManager.java:1518 - Compaction interrupted: Compaction@7d2f3790-14a3-11e6-9af3-cdff32bdcb0d(schema, table_2, 0/1871440)bytes INFO [CompactionExecutor:529] 2016-06-29 19:17:52,481 CompactionManager.java:1518 - Compaction interrupted: Compaction@e06f37a0-10bc-11e6-bb23-6776bf484396(schema, table_3, 0/2251297)bytes INFO [CompactionExecutor:530] 2016-06-29 19:17:53,547 CompactionManager.java:1518 - Compaction interrupted: Compaction@e1ede860-10bc-11e6-bb23-6776bf484396(schema, table_4, 0/1373193)bytes INFO [CompactionExecutor:530] 2016-06-29 19:17:54,586 CompactionManager.java:1518 - Compaction interrupted: Compaction@8d398280-14a3-11e6-9af3-cdff32bdcb0d(schema, table_5, 0/1646136)bytes INFO [CompactionExecutor:530] 2016-06-29 19:17:57,093 CompactionManager.java:1518 - Compaction interrupted: Compaction@432af280-29e0-11e6-80c2-e524daec2815(schema, table_6, 0/7144)bytes {noformat} was (Author: ostefano): Also, in the logs this time I can see the following (no traces of the exceptions I posted before, so they are likely to be unrelated) {noformat} INFO [CompactionExecutor:529] 2016-06-29 19:17:49,255 CompactionManager.java:1518 - Compaction interrupted: Compaction@685a9350-14a3-11e6-9af3-cdff32bdcb0d(schema, table_1, 0/97492039)bytes INFO [CompactionExecutor:529] 2016-06-29 19:17:51,050 CompactionManager.java:1518 - Compaction interrupted: Compaction@7d2f3790-14a3-11e6-9af3-cdff32bdcb0d(schema, table_2, 0/1871440)bytes INFO [CompactionExecutor:529] 2016-06-29 19:17:52,481 CompactionManager.java:1518 - Compaction interrupted: Compaction@e06f37a0-10bc-11e6-bb23-6776bf484396(schema, table_3, 0/2251297)bytes INFO [CompactionExecutor:530] 2016-06-29 19:17:53,547 CompactionManager.java:1518 - Compaction interrupted: Compaction@e1ede860-10bc-11e6-bb23-6776bf484396(schema, table_4, 0/1373193)bytes INFO [CompactionExecutor:530] 2016-06-29 19:17:54,586 CompactionManager.java:1518 - Compaction interrupted: Compaction@8d398280-14a3-11e6-9af3-cdff32bdcb0d(schema, table_5, 0/1646136)bytes INFO [CompactionExecutor:530] 2016-06-29 19:17:57,093 CompactionManager.java:1518 - Compaction interrupted: Compaction@432af280-29e0-11e6-80c2-e524daec2815(schema, table_6, 0/7144)bytes {noformat} > 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 > 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)