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 B331C1070C for ; Mon, 8 Jul 2013 20:11:41 +0000 (UTC) Received: (qmail 79196 invoked by uid 500); 8 Jul 2013 20:11:40 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 79166 invoked by uid 500); 8 Jul 2013 20:11:40 -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 79157 invoked by uid 99); 8 Jul 2013 20:11:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jul 2013 20:11:40 +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; Mon, 08 Jul 2013 20:11:34 +0000 Received: from [78.83.22.128] (port=54036 helo=localhost.localdomain) by mail.open.bg with esmtpsa (Cipher SSL3.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) id 1UwHmB-0007kV-7q by authid with login for ; Mon, 08 Jul 2013 23:11:11 +0300 Date: Mon, 8 Jul 2013 23:11:09 +0300 From: svilen To: user@couchdb.apache.org Subject: Re: when replication hits wrong update_validation Message-ID: <20130708231109.210ac6fb@svilendobrev.com> In-Reply-To: <69BC444C-E5E3-45B0-BBD9-85177F81E290@couchbase.com> References: <20130702154455.4c3d1e9b@svilendobrev.com> <69BC444C-E5E3-45B0-BBD9-85177F81E290@couchbase.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.16; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org >=20 > > a) can i force it to copy all again? i'm not sure if that "since" > > number is kept in touchdb-localy or on server too. >=20 > The checkpoint is kept on both sides to ensure consistency. I think > you=E2=80=99ll need to delete and recreate one of the databases (either on > device or CouchDB) to reset the replication. On iOS there is a > =E2=80=9Creset=E2=80=9D property you can set in the replication spec to f= orce > starting over, but I don=E2=80=99t think that=E2=80=99s implemented on An= droid yet. for the record, TDDatabase.setLastSequence("0", remoteUrl,..) - or any number thats not the one on server - resets it.=20