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 046E4200D2C for ; Sun, 29 Oct 2017 23:13:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 02B88160BE3; Sun, 29 Oct 2017 22:13:04 +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 ECF011609E9 for ; Sun, 29 Oct 2017 23:13:02 +0100 (CET) Received: (qmail 11759 invoked by uid 500); 29 Oct 2017 22:13:01 -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 11749 invoked by uid 99); 29 Oct 2017 22:13:00 -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; Sun, 29 Oct 2017 22:13:00 +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 37D371A2158 for ; Sun, 29 Oct 2017 22:13:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.988 X-Spam-Level: X-Spam-Status: No, score=0.988 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=steelhouseinc.onmicrosoft.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 JJsWyyX2cQAM for ; Sun, 29 Oct 2017 22:12:57 +0000 (UTC) Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0049.outbound.protection.outlook.com [104.47.38.49]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 88CED5F1E7 for ; Sun, 29 Oct 2017 22:12:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=steelhouseinc.onmicrosoft.com; s=selector1-steelhouse-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=nQP5tuOQEezvXXPiSxTk3NrWITTv5Zk3EMuqhiPfg4M=; b=PRmaMmTKeZoWcbI0IkAIOn0Th2WnD2nlk6oubygZlN6R1sUH7YMv5aFClV2Frtgne8ZYgo52uUbZqMZAqDAvJqhkujVgSHLeSK7zUj45oAUMa24vxN1n611xjC68Cfz66JtCA8Sv6qTTmSzxPlyx3jIVHjlnRlKY2CwwBwztnDE= Received: from BN6PR08MB3362.namprd08.prod.outlook.com (10.161.154.13) by BN6PR08MB3362.namprd08.prod.outlook.com (10.161.154.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.178.6; Sun, 29 Oct 2017 22:12:50 +0000 Received: from BN6PR08MB3362.namprd08.prod.outlook.com ([10.161.154.13]) by BN6PR08MB3362.namprd08.prod.outlook.com ([10.161.154.13]) with mapi id 15.20.0178.012; Sun, 29 Oct 2017 22:12:50 +0000 From: Aiman Parvaiz To: "user@cassandra.apache.org" Subject: Re: Need help with incremental repair Thread-Topic: Need help with incremental repair Thread-Index: AQHTT8Zf2WJG1Fzdhkyvj4dQZyk8hKL5bXyAgAHjygCAABOhog== Date: Sun, 29 Oct 2017 22:12:49 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=aiman@steelhouse.com; x-originating-ip: [76.90.128.180] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN6PR08MB3362;6:PEm+cVuqkw7f02NKAhFambteI18EB9MK5S+7KhPR8gQxbp+52JWsYb8XCKUw2MjUUclnGpI9zkDp3sYiolRkVmmkZ8g+QpkKyQ/cuZQcVRhLubw5JFeVYe2o07uwIKWdPAim3gYP7F7g+kMcPGW1SZtcMl5cuIwlZpNGC98n2NbYzSCWUsmkeuJ9DoAeMqNwLv25Aj9VRR4K9v7WTZ9Pc4yDL60ZRKUTNeDp3VEbBHsGaOCqxpHsoMmlmUG0bZkOvtAWVkdsnuxwuXE1FESKqqIbEmAALT0rOjqkniLSP76/zW5vHVQv7YqC08pKbJxTl6ODlknU8VI8HQzOacJjFRb7n9jjX6gkg5xmhsenHrI=;5:On0uLTKOMG5V+TLOgDfoFivpIjOhKN7SF3H3dPe7Xp/TLaWHLV01jzKe3iqgOfJ0LQKD9ZqndQKnZAsPG3oVpcJ79jpU3CotBTygz6XNYViuGE4lxxQE3DaoQyrf7Fti/3foH7iISypY3B+S7hpPCO4cpPijb7tCUaTQwrF9FXw=;24:VCNxHTF2bSKglEw/KCyxckPh20ST13gM8IDLiYaUIIs4nhRz35jAVKdjCYGfJQcqXTLklpLYdVNDviVfSYVQfcHkc5QKcWgyErHp/k6bNsw=;7:HT4cfVgnLyr9e6zAYd8P8WEdf32J6HSeM8mjmT8roF0rSU8B81uZzbYi0xY9kFpFquWyYfEC+mnI0Ekzu/3t/ooFml2Q96bv9stwLmkKcNcZLXF4qgMAOi42oQ1upvtSic+0Bhw8dK51ZtSs4f3kYFw+UL9Cc52G9fbvvkOv1bW2NRkmIKTSB1dCdV4M29kzRMjhaRuSg1ZtCE8O6+6jGbPBTYz0NU40ycKS9nP97vQ3w44KqlvSGPSaK9kwlLfV x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: cd0bc504-cabb-40bb-2a27-08d51f1a3175 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(4534020)(4602075)(4603075)(2017052603199);SRVR:BN6PR08MB3362; x-ms-traffictypediagnostic: BN6PR08MB3362: x-exchange-antispam-report-test: UriScan:(80524489315369)(158342451672863)(31960201722614); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(10201501046)(3231020)(93006095)(93001095)(3002001)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123558100)(20161123560025)(2016111802025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(6043046)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN6PR08MB3362;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN6PR08MB3362; x-forefront-prvs: 0475418F50 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(376002)(346002)(53754006)(377424004)(252514010)(24454002)(199003)(189002)(5660300001)(2906002)(7696004)(6116002)(102836003)(3846002)(8936002)(8676002)(81166006)(81156014)(53936002)(1730700003)(74316002)(9686003)(99286003)(54896002)(101416001)(54356999)(7736002)(55016002)(76176999)(2900100001)(3660700001)(3280700002)(50986999)(6506006)(5640700003)(6436002)(2950100002)(478600001)(25786009)(86362001)(6916009)(229853002)(33656002)(2351001)(14454004)(4001150100001)(97736004)(66066001)(53546010)(2501003)(189998001)(316002)(68736007)(105586002)(6246003)(77096006)(106356001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR08MB3362;H:BN6PR08MB3362.namprd08.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: steelhouse.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_BN6PR08MB3362962381D37D253B1D66D2D0580BN6PR08MB3362namp_" MIME-Version: 1.0 X-OriginatorOrg: steelhouse.com X-MS-Exchange-CrossTenant-Network-Message-Id: cd0bc504-cabb-40bb-2a27-08d51f1a3175 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Oct 2017 22:12:49.9666 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 83691c01-760c-4b88-9cfb-a1b169bdb304 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR08MB3362 archived-at: Sun, 29 Oct 2017 22:13:04 -0000 --_000_BN6PR08MB3362962381D37D253B1D66D2D0580BN6PR08MB3362namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks Blake and Paulo for the response. Yes, the idea is to go back to non incremental repairs. I am waiting for al= l the "anticompaction after repair" activities to complete and in my unders= tanding( thanks to Blake for the explanation ), I can run a full repair on = that KS and then get back to my non incremental repair regiment. I assume that I should mark the SSTs to un repaired first and then run a fu= ll repair? Also, although I am installing Cassandra from package dsc22 on my CentOS 7 = I couldn't find sstable tools installed, need to figure that out too. ________________________________ From: Paulo Motta Sent: Sunday, October 29, 2017 1:56:38 PM To: user@cassandra.apache.org Subject: Re: Need help with incremental repair > Assuming the situation is just "we accidentally ran incremental repair", = you shouldn't have to do anything. It's not going to hurt anything Once you run incremental repair, your data is permanently marked as repaired, and is no longer compacted with new non-incrementally repaired data. This can cause read fragmentation and prevent deleted data from being purged. If you ever run incremental repair and want to switch to non-incremental repair, you should manually mark your repaired SSTables as not-repaired with the sstablerepairedset tool. 2017-10-29 3:05 GMT+11:00 Blake Eggleston : > Hey Aiman, > > Assuming the situation is just "we accidentally ran incremental repair", = you > shouldn't have to do anything. It's not going to hurt anything. Pre-4.0 > incremental repair has some issues that can cause a lot of extra streamin= g, > and inconsistencies in some edge cases, but as long as you're running ful= l > repairs before gc grace expires, everything should be ok. > > Thanks, > > Blake > > > On October 28, 2017 at 1:28:42 AM, Aiman Parvaiz (aiman@steelhouse.com) > wrote: > > Hi everyone, > > We seek your help in a issue we are facing in our 2.2.8 version. > > We have 24 nodes cluster spread over 3 DCs. > > Initially, when the cluster was in a single DC we were using The Last Pic= kle > reaper 0.5 to repair it with incremental repair set to false. We added 2 > more DCs. Now the problem is that accidentally on one of the newer DCs we > ran nodetool repair without realizing that for 2.2 the default > option is incremental. > > I am not seeing any errors in the logs till now but wanted to know what > would be the best way to handle this situation. To make things a little m= ore > complicated, the node on which we triggered this repair is almost out of > disk and we had to restart C* on it. > > I can see a bunch of "anticompaction after repair" under Opscenter Activi= tes > across various nodes in the 3 DCs. > > > Any help, suggestion would be appreciated. > > Thanks > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org For additional commands, e-mail: user-help@cassandra.apache.org --_000_BN6PR08MB3362962381D37D253B1D66D2D0580BN6PR08MB3362namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Thanks Blake and Paulo for the response.

Yes, the idea is to go back to non incremental repairs. I am waiting for= all the "anticompaction after repair" activities to complete and= in my understanding( thanks to Blake for the explanation ), I ca= n run a full repair on that KS and then get back to my non incremental repair regiment.


I assume that I should mark the= SSTs to un repaired first and t= hen run a full repair? 

Also, although I am installing Cassandra = from package dsc22 on my CentOS 7 I couldn't find sstable tools installed, = need to figure that out too.


From: Paulo Motta <pau= loricardomg@gmail.com>
Sent: Sunday, October 29, 2017 1:56:38 PM
To: user@cassandra.apache.org
Subject: Re: Need help with incremental repair
 
> Assuming the situation is just "we accid= entally ran incremental repair", you shouldn't have to do anything. It= 's not going to hurt anything

Once you run incremental repair, your data is permanently marked as
repaired, and is no longer compacted with new non-incrementally
repaired data. This can cause read fragmentation and prevent deleted
data from being purged. If you ever run incremental repair and want to
switch to non-incremental repair, you should manually mark your
repaired SSTables as not-repaired with the sstablerepairedset tool.

2017-10-29 3:05 GMT+11:00 Blake Eggleston <beggleston@apple.com>:=
> Hey Aiman,
>
> Assuming the situation is just "we accidentally ran incremental r= epair", you
> shouldn't have to do anything. It's not going to hurt anything. Pre-4.= 0
> incremental repair has some issues that can cause a lot of extra strea= ming,
> and inconsistencies in some edge cases, but as long as you're running = full
> repairs before gc grace expires, everything should be ok.
>
> Thanks,
>
> Blake
>
>
> On October 28, 2017 at 1:28:42 AM, Aiman Parvaiz (aiman@steelhouse.com= )
> wrote:
>
> Hi everyone,
>
> We seek your help in a issue we are facing in our 2.2.8 version.
>
> We have 24 nodes cluster spread over 3 DCs.
>
> Initially, when the cluster was in a single DC we were using The Last = Pickle
> reaper 0.5 to repair it with incremental repair set to false. We added= 2
> more DCs. Now the problem is that accidentally on one of the newer DCs= we
> ran nodetool repair <keyspace> without realizing that for 2.2 th= e default
> option is incremental.
>
> I am not seeing any errors in the logs till now but wanted to know wha= t
> would be the best way to handle this situation. To make things a littl= e more
> complicated, the node on which we triggered this repair is almost out = of
> disk and we had to restart C* on it.
>
> I can see a bunch of "anticompaction after repair" under Ops= center Activites
> across various nodes in the 3 DCs.
>
>
> Any help, suggestion would be appreciated.
>
> Thanks
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
For additional commands, e-mail: user-help@cassandra.apache.org

--_000_BN6PR08MB3362962381D37D253B1D66D2D0580BN6PR08MB3362namp_--