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 9E45F709C for ; Fri, 14 Oct 2011 16:17:27 +0000 (UTC) Received: (qmail 75957 invoked by uid 500); 14 Oct 2011 16:17:26 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 75902 invoked by uid 500); 14 Oct 2011 16:17:25 -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 75894 invoked by uid 99); 14 Oct 2011 16:17:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2011 16:17:25 +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 (athena.apache.org: domain of fdmanana@gmail.com designates 209.85.161.180 as permitted sender) Received: from [209.85.161.180] (HELO mail-gx0-f180.google.com) (209.85.161.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2011 16:17:21 +0000 Received: by ggni2 with SMTP id i2so1849172ggn.11 for ; Fri, 14 Oct 2011 09:17:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=DVoANQtB6T3uY/8e6g2dQz4QWFyHJlgDlVu95gRdiPI=; b=PPZbQeOWfRBKwyTRDIit1wRfg+B5GV1ejss6NDH//bvyvIZhuCgqxckF3TD22wmc8d XwEqka93718RMvTehE+LI0V+SBgUVtf8JF6uBbAtz+GQVPlEhiX9KHOUre7ttZoDArnp Fxl1pN1Us1q24eC2cdK6KpilqARnI7DRm0sYY= MIME-Version: 1.0 Received: by 10.68.0.227 with SMTP id 3mr17787263pbh.48.1318609020067; Fri, 14 Oct 2011 09:17:00 -0700 (PDT) Sender: fdmanana@gmail.com Received: by 10.142.242.6 with HTTP; Fri, 14 Oct 2011 09:17:00 -0700 (PDT) In-Reply-To: <0A04FC92-4570-4563-AD07-2FE41EBE033A@couchbase.com> References: <0A04FC92-4570-4563-AD07-2FE41EBE033A@couchbase.com> Date: Fri, 14 Oct 2011 17:17:00 +0100 X-Google-Sender-Auth: GjSBGCWbLM0aWPVV83F08XVweKE Message-ID: Subject: Re: Repeating a non-continuous persistent replication? From: Filipe David Manana To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Oct 13, 2011 at 6:56 PM, Jens Alfke wrote: > If I create a persistent replication document in the _replicator database= , and don=E2=80=99t mark it as continuous, then after it finishes copying d= ocuments it=E2=80=99ll stop. So how do I make it run again? Do I just PUT a= new revision with the _replication_state field changed to =E2=80=9Ctrigger= ed=E2=80=9D? If you set the state field to triggered it will be a no-op. Just update the document with a version not containing the _replication_state field or create a new one (with other id) describing the same replication. > > =E2=80=94Jens --=20 Filipe David Manana, "Reasonable men adapt themselves to the world. =C2=A0Unreasonable men adapt the world to themselves. =C2=A0That's why all progress depends on unreasonable men."