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 CAB934AC6 for ; Mon, 11 Jul 2011 18:34:20 +0000 (UTC) Received: (qmail 31957 invoked by uid 500); 11 Jul 2011 18:34:18 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 31881 invoked by uid 500); 11 Jul 2011 18:34:17 -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 31873 invoked by uid 99); 11 Jul 2011 18:34:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2011 18:34:17 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of s5alye@gmail.com designates 209.85.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-iw0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2011 18:34:11 +0000 Received: by iwn39 with SMTP id 39so4773200iwn.31 for ; Mon, 11 Jul 2011 11:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=syYdX1L21d8d27IvyZIf1HU8Haf2zm/9nOjLhIVIqg0=; b=NAGKTWg5FC+eGcq/NGk8v8CqdbIrTYfhG1G2Ggc70GBEjSAWWvhbulmJVdzu5N3AcQ /pyinUkcLzwO/qlQd8OcJnUiab+18igFkEuaVivtKiGulGIrIynZm90e1GHKjhjqf4BE J50jarrFwzl9DDy5XAPAYptO33H8MscdJqOW8= MIME-Version: 1.0 Received: by 10.231.118.151 with SMTP id v23mr475087ibq.40.1310409230417; Mon, 11 Jul 2011 11:33:50 -0700 (PDT) Received: by 10.231.37.137 with HTTP; Mon, 11 Jul 2011 11:33:50 -0700 (PDT) In-Reply-To: References: Date: Mon, 11 Jul 2011 14:33:50 -0400 Message-ID: Subject: Re: Meaning of 'nodetool repair has to run within GCGraceSeconds' From: A J To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Instead of doing nodetool repair, is it not a cheaper operation to keep tab of failed writes (be it deletes or inserts or updates) and read these failed writes at a set frequency in some batch job ? By reading them, RR would get triggered and they would get to a consistent state. Because these would targeted reads (only for those that failed during writes), it should be a shorter list and quick to repair (than nodetool repair). On Thu, Jun 30, 2011 at 5:27 PM, Jonathan Ellis wrote: > On Thu, Jun 30, 2011 at 3:47 PM, Edward Capriolo wrote: >> Read repair does NOT repair tombstones. > > It does, but you can't rely on RR to repair _all_ tombstones, because > RR only happens if the row in question is requested by a client. > > -- > Jonathan Ellis > Project Chair, Apache Cassandra > co-founder of DataStax, the source for professional Cassandra support > http://www.datastax.com >