From user-return-19313-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Tue Jan 3 08:24:09 2012 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-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 652B09A03 for ; Tue, 3 Jan 2012 08:24:09 +0000 (UTC) Received: (qmail 99532 invoked by uid 500); 3 Jan 2012 08:24:07 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 98789 invoked by uid 500); 3 Jan 2012 08:23:51 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 98773 invoked by uid 99); 3 Jan 2012 08:23:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2012 08:23:46 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.hirst@sophos.com designates 213.31.172.35 as permitted sender) Received: from [213.31.172.35] (HELO mx5.sophos.com) (213.31.172.35) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2012 08:23:40 +0000 Received: from mx5.sophos.com (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 19AD6540C00 for ; Tue, 3 Jan 2012 08:23:19 +0000 (GMT) Received: from uk-exch1.green.sophos (uk-exch1.green.sophos [10.100.199.16]) by mx5.sophos.com (Postfix) with ESMTPS id E6530540B44 for ; Tue, 3 Jan 2012 08:23:18 +0000 (GMT) Received: from UK-EXCHMBX1.green.sophos ([fe80:0000:0000:0000:e1bd:d3c1:23.222.229.221]) by uk-exch1.green.sophos ([10.100.199.16]) with mapi; Tue, 3 Jan 2012 08:23:18 +0000 From: Paul Hirst To: "user@couchdb.apache.org" Date: Tue, 3 Jan 2012 08:23:17 +0000 Subject: RE: Delete replication history Thread-Topic: Delete replication history Thread-Index: AczCOgrqn61HOxvjT8Gf17u0ltbd0AHtjcIA Message-ID: <36E79CEC5BFB8E4D9763C4DEB9B1163C38AD61B784@UK-EXCHMBX1.green.sophos> References: <54E27482-695C-4DCF-8A49-777F1C7BC93C@sri.com> In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sophos.com; h=from:to:date:subject:message-id:references:in-reply-to:content-type:content-transfer-encoding:mime-version; s=global; bh=LrKTx+F3nytOtMtqQzncHH2fJj/ZL1AxRXqfDuUMt00=; b=fNqfjaLyatnVgt0BpCdLPc/G69Q5cB/QRED1+WTpqaBXVdAynlv+IDo6gndB+63xp/X7snnetXn9GX86jnkpMdNIHSPb+mF1OSvwYWeYPGXRLoeC1Ep5MCkbZF2pZelcDSITtSJl+Q7gkJARB9DiOAqshCkczqsRzbCJDHiagBM= > -----Original Message----- > From: Robert Newson [mailto:rnewson@apache.org] > Sent: 24 December 2011 12:46 > To: user@couchdb.apache.org > Subject: Re: Delete replication history > > I believe Jim is referring to the replication checkpoint document > (which does indeed include 'historical' information). Jim is also > correct in that the presence of this document will prevent a full > re-replication when the target's validate_doc_update function is > altered. > > Jim, the replication checkpoint document is named in the way: > /dbname/_local/. You should be able to see this document being > written to in the logs and the portion is also the value you > get back when POST'ing to _replicate (and the one shown in > _active_tasks). Delete the document in the usual fashion and > replication will do over from the start. I've only ever been able to find the hash value in the log. If it's in _act= ive_tasks where is it? My replication entries in _active_tasks look like ba3959: http://myserver.example:5984/mydb/ -> mydb And I don't believe ba3959 is long enough. Isn't the hash an MD5 of the rep= lication information? If there was a way to get it out of _active_tasks it would be extremely con= venient. Sophos Limited, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, Un= ited Kingdom. Company Reg No 2096520. VAT Reg No GB 991 2418 08.