Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DFE3BDF97 for ; Tue, 11 Sep 2012 21:51:16 +0000 (UTC) Received: (qmail 3267 invoked by uid 500); 11 Sep 2012 21:51:14 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 3218 invoked by uid 500); 11 Sep 2012 21:51:14 -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 3209 invoked by uid 99); 11 Sep 2012 21:51:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 21:51:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of omidaladini@gmail.com designates 209.85.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-ob0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 21:51:09 +0000 Received: by obbwc20 with SMTP id wc20so1754722obb.31 for ; Tue, 11 Sep 2012 14:50:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=DxqnFdWdK/+M+davgxst6D0Uk2OwDY8EJySyBQ9YOcY=; b=iCX+kFMBvNpw5aoJaD4TYGCWCRhND9StyslywsJqNTezKjtDux7IM2W5oOTXngxl9E yxjaCYn8xrh8IdXXu0AJmhnuPNPpj9fxeK9JBn4ZhMTXFwW2DPzpmke2U9jzsC1vTk43 Gp15+CignZHvh9x6Xwq9TJCmAK1Sq5z7Qx/oTblnm7gTM7ZZZtaGy/InWJU7x6td+EmB jg47t7jOhbxA+rMnCX3xZeAlVJIiCfnBaT/OVFaA5ADzIl8IU0+7wKgrIf+I1TnaJ4Be ITcMVtS3W/0lFWN2150UOgiFEtVZHtumI50T83OugKCkARQTb3lKZK2IlDvVEpLa3hNQ bn0Q== Received: by 10.182.31.102 with SMTP id z6mr20235894obh.66.1347400249035; Tue, 11 Sep 2012 14:50:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.78.129 with HTTP; Tue, 11 Sep 2012 14:50:07 -0700 (PDT) In-Reply-To: <604D85BD-3387-4A83-9248-F5D4692FE823@ecyrd.com> References: <604D85BD-3387-4A83-9248-F5D4692FE823@ecyrd.com> From: Omid Aladini Date: Tue, 11 Sep 2012 23:50:07 +0200 Message-ID: Subject: Re: Assertions running Cleanup on a 3-node cluster with Cassandra 1.1.4 and LCS To: user@cassandra.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Sep 11, 2012 at 8:33 PM, Janne Jalkanen wrote: > >> A bug in Cassandra 1.1.2 and earlier could cause out-of-order sstables >> and inter-level overlaps in CFs with Leveled Compaction. Your sstables >> generated with 1.1.3 and later should not have this issue [1] [2]. > > Does this mean that LCS on 1.0.x should be considered unsafe to > use? I'm using them for semi-wide frequently-updated CounterColumns > and they're performing much better on LCS than on STCS. That's true. "Unsafe" in the sense that your data might not be in the right shape with respect to order of keys in sstables and LCS's properties and you might need to offline-scrub when you upgrade to the latest 1.1.x. >> In case you have old Leveled-compacted sstables (generated with 1.1.2 >> or earlier. including 1.0.x) you need to run offline scrub using >> Cassandra 1.1.4 or later via /bin/sstablescrub command so it'll fix >> out-of-order sstables and inter-level overlaps caused by previous >> versions of LCS. You need to take nodes down in order to run offline >> scrub. > > The 1.1.5 README does not mention this. Should it? The fix was released on 1.1.3 (LCS fix) and 1.1.4 (offline scrub) and I agree it would be helpful to have it on NEWS.txt. Cheers, Omid > /Janne >