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 335AF200BD4 for ; Fri, 2 Dec 2016 00:54:21 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 31E44160B10; Thu, 1 Dec 2016 23:54:21 +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 7A265160B0B for ; Fri, 2 Dec 2016 00:54:20 +0100 (CET) Received: (qmail 12208 invoked by uid 500); 1 Dec 2016 23:54:19 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 12198 invoked by uid 99); 1 Dec 2016 23:54:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2016 23:54:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5B06B1A9F50 for ; Thu, 1 Dec 2016 23:54:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.398 X-Spam-Level: ** X-Spam-Status: No, score=2.398 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id z-1OqWMHLFiV for ; Thu, 1 Dec 2016 23:54:17 +0000 (UTC) Received: from mail-io0-f181.google.com (mail-io0-f181.google.com [209.85.223.181]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 4918F5F1F0 for ; Thu, 1 Dec 2016 23:54:17 +0000 (UTC) Received: by mail-io0-f181.google.com with SMTP id m5so316263451ioe.3 for ; Thu, 01 Dec 2016 15:54:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=7l8hWmhZWqtoWM7NqAu6kfZoTO5mvkRxWZSzwWm+0Jw=; b=jJHiAinVb4Zo99KRha8rXS4fMEXJ7ot4HDhCoq50JQkmxT9eoJSPGIn81Nlq3S/15C n/ZnkDfufZ5l2raR2AZxlsNOI9rU+4rIt1O+H32JXKgU8e0uZRhtOoK0dmTI/mHyof6i 1N+qe9LrucJ6CbZesCMWDolFgJ3svMjnDZ9HrxPj9ukMQeYYLlHvfhn1zxx0cVKdukY1 fvlvtRRmlFpQwJCkO6TMGDSJhBva8+bYB8dqaDX3ychiIY54JMjv04oLHcWyQuOK6QE7 8Isnz/c6sWV0IKQJRx2WxGNpv+v/b73+MNztNeYPByciKXHqDZkKehOhNnl8Fhd80ZYw tEGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7l8hWmhZWqtoWM7NqAu6kfZoTO5mvkRxWZSzwWm+0Jw=; b=CFYhT171YK1I/4AdPNNS/y85RhjndUDOL0qEe7Q1SmfSiIOIQJEQFV4jyTIeoQXgtc BCFUR2HHU8TmgqeNDXlIH9/TA56PiYeQnbVOgy3PVrGQ+2kf1VEZZQi87ZyXJuggHdNh gqBcHirVhSO7EfLvpS3LuwxHZUasNgN1orRWm6TlhgWOGKhEQO6UK/8blnquubCxkfYc IOjxjOYQBZi4N0x28Fo37yujbcDi8pILw4df1eLMpFGCd2/YJeSuYCmlBOgGhommWYCb ggdZEqrzPgFvqVi1VFSokkigZSDx80Rb7XuWIet97tJXon3F2QR70JF81URYY3vZsE4x noww== X-Gm-Message-State: AKaTC01++CzFKHxWsYPNDWmmOhJqgz1hPDIghLjN+3Bomamh7Q/n+IusNe/yb7sVIoLgAYItuflhDmUtFr1zGQ== X-Received: by 10.36.73.156 with SMTP id e28mr320216itd.49.1480636453700; Thu, 01 Dec 2016 15:54:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.131.150 with HTTP; Thu, 1 Dec 2016 15:54:13 -0800 (PST) From: John Sanda Date: Thu, 1 Dec 2016 18:54:13 -0500 Message-ID: Subject: empty buckets with STCS To: user Content-Type: multipart/alternative; boundary=001a11c1511edd48920542a18960 archived-at: Thu, 01 Dec 2016 23:54:21 -0000 --001a11c1511edd48920542a18960 Content-Type: text/plain; charset=UTF-8 I have 2.2.1 Cassandra node that does not appear to be compacting SSTables. The table is currently configured with STCS. I turned on some debug logging and when the compaction checks run, they log: Compaction buckets are [] I have been going over SizeTieredCompactionStrategy.java and looking in particular at the getNextBackgroundTables method since that is where the above message is logged. Assuming I am reading the logs correctly, what if anything besides all SSTables being blacklisted would result in empty buckets? As I understand the code if an SSTable falls outside the threshold of all existing buckets, it will be added to a new bucket. - John --001a11c1511edd48920542a18960 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have 2.2.1 Cassandra node that does not appear to be com= pacting SSTables.=C2=A0 The table is currently configured with STCS. I turn= ed on some debug logging and when the compaction checks run, they log:
=
Compaction buckets are []

I have been going over SizeTiere= dCompactionStrategy.java and looking in particular at the getNextBackground= Tables method since that is where the above message is logged. Assuming I a= m reading the logs correctly, what if anything besides all SSTables being b= lacklisted would result in empty buckets? As I understand the code if an SS= Table falls outside the threshold of all existing buckets, it will be added= to a new bucket. =C2=A0


- John
--001a11c1511edd48920542a18960--