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 E00C110AD0 for ; Thu, 12 Dec 2013 08:36:12 +0000 (UTC) Received: (qmail 69355 invoked by uid 500); 12 Dec 2013 08:36:09 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 69181 invoked by uid 500); 12 Dec 2013 08:36:09 -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 68891 invoked by uid 99); 12 Dec 2013 08:36:07 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Dec 2013 08:36:07 +0000 Received: from localhost (HELO mail-ve0-f178.google.com) (127.0.0.1) (smtp-auth username rnewson, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Dec 2013 08:36:06 +0000 Received: by mail-ve0-f178.google.com with SMTP id c14so58504vea.9 for ; Thu, 12 Dec 2013 00:36:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=8uI/8HfN9y1mZkqCvPPmsEEDiv8gM3idRqPYeebJ76I=; b=TkliWrFxCBrxCLO3thNv+82V/A1olEul+wrsRYS2zshdHfrwwytsWICWWWDdEq6QKL OH1n3o9NN2qZ71QCH4xLKRnnVFWWg8S+QG8Y3qT8kmnlUQp9i0O7xk7G1dJFIyClwAJO fYdLX1VyKbDVSNn+MoanADC+Pxri2rrmJKDgB0daD9j2RuBsZIrsuCBkw6tK1Cs454Uq WIA5jLwy7AA70MmoxADepwovsS6reNozI0tRrTL5anKvEhmx+mQdM6A4ICG02SiqVfa0 3WJMi//9QsNaXwJXwK5Ze4bEt52K9M86S2Ix11iOg6OqvEB+89WMx/tLeL/SJDEEk1TG Fzsg== MIME-Version: 1.0 X-Received: by 10.52.28.6 with SMTP id x6mr2383218vdg.3.1386837365899; Thu, 12 Dec 2013 00:36:05 -0800 (PST) Received: by 10.220.251.70 with HTTP; Thu, 12 Dec 2013 00:36:05 -0800 (PST) In-Reply-To: References: Date: Thu, 12 Dec 2013 08:36:05 +0000 Message-ID: Subject: Re: Force the start sequence of a replication From: Robert Newson To: "user@couchdb.apache.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, Add a property called "since_seq" to your second replication with the update sequence you wish to start at. Like; {"source":"source url here", "target":"target url", "since_seq":99999} This was introduce in CouchDB 1.2.0; * Added optional field `since_seq` to replication objects/documents. It allows to bootstrap a replication from a specific source sequence number. Also works at Cloudant. B. On 12 December 2013 08:16, Zo=E9 Bellot wrote: > Hello couchDB users, > > I would like to replicate two databases with a one-shot replication with = a > filter which takes documents with a field 'docType' equals to File or > Folder. Once, this replication done, I would like to do a continuous > replication between these two databases with a filter which takes documen= ts > with a field 'docType' equals to File or Folder and deleted document. > > However, I would like to start the second replication at the last sequenc= e > of the first replication. I can find the sequence number in the first > replication information but I don't know how force the second replication > to start at this sequence. > Is there a way to do this ? > > Thanks for your answer. > > Sorry for my english, I'm not a native English speaker. > > Zo=E9