Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A351410B57 for ; Tue, 17 Dec 2013 14:40:12 +0000 (UTC) Received: (qmail 58201 invoked by uid 500); 17 Dec 2013 14:40:11 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 58044 invoked by uid 500); 17 Dec 2013 14:40: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 57819 invoked by uid 99); 17 Dec 2013 14:40:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Dec 2013 14:40:08 +0000 Date: Tue, 17 Dec 2013 14:40:08 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-6496) Endless L0 LCS compactions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-6496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-6496: -------------------------------------- Attachment: 6496.txt Patch to remove sstable output size limit when we're supposed to be doing STCS in L0. - Chose to use LCT w/ unlimited size instead of normal CT since that seems less fragile (e.g. if we decide CT.level() should return -1) - Some churn to standardize on limiting in Bytes over MB > Endless L0 LCS compactions > -------------------------- > > Key: CASSANDRA-6496 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6496 > Project: Cassandra > Issue Type: Bug > Components: Core > Environment: Cassandra 2.0.3, Linux, 6 nodes, 5 disks per node > Reporter: Nikolai Grigoriev > Attachments: 6496.txt, system.log.1.gz, system.log.gz > > > I have first described the problem here: http://stackoverflow.com/questions/20589324/cassandra-2-0-3-endless-compactions-with-no-traffic > I think I have really abused my system with the traffic (mix of reads, heavy updates and some deletes). Now after stopping the traffic I see the compactions that are going on endlessly for over 4 days. > For a specific CF I have about 4700 sstable data files right now. The compaction estimates are logged as "[3312, 4, 0, 0, 0, 0, 0, 0, 0]". sstable_size_in_mb=256. 3214 files are about 256Mb (+/1 few megs), other files are smaller or much smaller than that. No sstables are larger than 256Mb. What I observe is that LCS picks 32 sstables from L0 and compacts them into 32 sstables of approximately the same size. So, what my system is doing for last 4 days (no traffic at all) is compacting groups of 32 sstables into groups of 32 sstables without any changes. Seems like a bug to me regardless of what did I do to get the system into this state... -- This message was sent by Atlassian JIRA (v6.1.4#6159)