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 37920DE58 for ; Thu, 16 May 2013 12:01:11 +0000 (UTC) Received: (qmail 99895 invoked by uid 500); 16 May 2013 12:01:09 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 99545 invoked by uid 500); 16 May 2013 12:01: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 99519 invoked by uid 99); 16 May 2013 12:01:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 May 2013 12:01:08 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [91.195.24.3] (HELO mail.open.bg) (91.195.24.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 May 2013 12:01:04 +0000 Received: from [78.83.22.128] (port=35993 helo=localhost.localdomain) by mail.open.bg with esmtpsa (Cipher SSL3.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) id 1UcwrR-0004eY-Su by authid with login for ; Thu, 16 May 2013 15:00:41 +0300 Date: Thu, 16 May 2013 15:00:40 +0300 From: svilen To: user@couchdb.apache.org Subject: Re: how to wake up error replication Message-ID: <20130516150040.4d97c890@svilendobrev.com> In-Reply-To: References: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.16; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org from the doc: https://gist.github.com/fdmanana/832610 * >What is the recommended way to restart a replication that * is currently in the error state? * Edit the doc and remove the field "_replication_state". * Or create another identical doc (same source, target, etc). On Thu, 16 May 2013 13:52:46 +0200 Tibor Gemes wrote: > I have a notebook on which there is a couchdb instance. I have a > continuous replication document in the _replicator database. > Let's suppose I suspend my notebook and wake it up in a different > network where there is no network connection. The replication > document switches its state to error. > If I later move back to a different network where I can reach the > source couchdb again then the replication will turn to 'triggered' > after a while, but how can I enforce it to recheck the remote end? Is > there any api call which would force to revalidate the state of the > replication? > > T