From user-return-21527-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed Jul 11 23:32:11 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 8010F9051 for ; Wed, 11 Jul 2012 23:32:11 +0000 (UTC) Received: (qmail 79134 invoked by uid 500); 11 Jul 2012 23:32:09 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 79096 invoked by uid 500); 11 Jul 2012 23:32: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 79086 invoked by uid 99); 11 Jul 2012 23:32:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2012 23:32:09 +0000 X-ASF-Spam-Status: No, hits=4.7 required=5.0 tests=FREEMAIL_FORGED_REPLYTO,FSL_FREEMAIL_1,FSL_FREEMAIL_2,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [72.30.239.75] (HELO nm34-vm3.bullet.mail.bf1.yahoo.com) (72.30.239.75) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 11 Jul 2012 23:32:00 +0000 Received: from [98.139.215.142] by nm34.bullet.mail.bf1.yahoo.com with NNFMP; 11 Jul 2012 23:31:39 -0000 Received: from [98.139.215.252] by tm13.bullet.mail.bf1.yahoo.com with NNFMP; 11 Jul 2012 23:31:39 -0000 Received: from [127.0.0.1] by omp1065.mail.bf1.yahoo.com with NNFMP; 11 Jul 2012 23:31:39 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 250733.58241.bm@omp1065.mail.bf1.yahoo.com Received: (qmail 96454 invoked by uid 60001); 11 Jul 2012 23:31:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1342049498; bh=RLkO6OxtS7aG98HSCqnbKdjjBUIikPqYFj8ubSMGsSc=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ZNWHW1oWAA8gjzYLJ/pYf+QSp4iw9FxVnwwHFeNHlN75/XmHv0mf3JS2Se+DIl1b6tEwGmF+2Pz8i7yX2VXbBE8pSHXujuiFpVPPM7VelNsJpLkIEqXVy8FeK5rYUbNhG5khlraZ4LEMWxuos5FdqhqZtqtSfhYz4l38ICjfVsM= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=e2bWpuVJG8Xz9vMTf44kGmEonZbEnSiIUu/DnXiMQQpIawe5hLdwuKiOnqIZWc1FZvbhpUq/Xg31LZDFfgmWHHNhoNOxdK4TS/yWUEHrST/kXvcdBBmU2yKqq5EuxonGKlW+ZvgHHOmJE3Zoww3WDyJJwoiSV20s4YWsErf8etU=; X-YMail-OSG: BqvGWwwVM1l68zbIaHW9DUFt8p1vpDAHiweeDvB_fYLE2Ta 0vscyCh1EAOc1W4mIikZbocLcjwwC8KO9Ua7KW_IInrebi_0H9NvAp5887oM 8Aotw_tPS85_psLdTeH_aMbu0XDxSzBcp91KckXjTPsOV9dLI2VeGvbjUvdJ MvyqilgvTJ9gPgYPBb7LPxK9CSmzqo2RH3Nxxc7zPOL9MCW7HsBMh6tA21Xp HDkXE10mPSj_Xy71iGm9L6thFat_Vxqn4jWU8D.hGZNvYIUiQyT.gYWpOs.x pgcdzqWHm3kf5QSdOirgWvvT3OLekL3PTK.NVJc_VnRP3_xMsD1r3LOsUS_b zm4QJeFqDFfDrHNc_Bem.lqtxKJ93yDsWhR_v4aNbR2PrVQwWeQdSnhFJvuH yW40JY4vm95U_mjuyR42YwzMBYooNOzp5tEIZKcbsGjKwQblcazNMSnTDfqi 1MP9.PR9zKfZp1Ketq4dqMaCVSKU0b7aqKbhh Received: from [38.106.36.242] by web39406.mail.mud.yahoo.com via HTTP; Wed, 11 Jul 2012 16:31:38 PDT X-Mailer: YahooMailWebService/0.8.120.356233 References: <1340152586.21235.YahooMailNeo@web39403.mail.mud.yahoo.com> <1340297453.92738.YahooMailNeo@web39405.mail.mud.yahoo.com> <04EAF841-633C-44F5-954B-32988F653892@apache.org> <1340306882.46820.YahooMailNeo@web39401.mail.mud.yahoo.com> Message-ID: <1342049498.77413.YahooMailNeo@web39406.mail.mud.yahoo.com> Date: Wed, 11 Jul 2012 16:31:38 -0700 (PDT) From: Andreas Kemkes Reply-To: Andreas Kemkes Subject: Re: Replication and checkpoints - what to expect? To: "user@couchdb.apache.org" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="411857043-1958730519-1342049498=:77413" X-Virus-Checked: Checked by ClamAV on apache.org --411857043-1958730519-1342049498=:77413 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I wanted to follow up on this thread as I'm still experience difficulties u= sing the feature and would like some advise how to best deal with the situa= tion.=0A=0AThe goal is to break up a monolithic database into multiple, whi= ch was achieved after a lot of trial and error. =A0Now the quest is to keep= it in sync for a while by using filtered, continuous replications. =A0Yet = the replication gets stuck on the last sequence number that passes the filt= er. =A0In the Futon UI, I see:=0A=0ACheckpointed source sequence 165850, cu= rrent source sequence 166253, progress 99%=0A=0AIf I start a non-continuous= replication with the exact same parameters, it returns:=0A=0A=0A{=0A=A0 = =A0 "ok": true,=0A=A0 =A0 "no_changes": true,=0A=A0 =A0 "session_id": ...,= =0A=A0 =A0 "source_last_seq": 165850,=0A=A0 =A0 "replication_id_version": 2= ,=0A...=0A}=0AIt apparently knows that there are no changes and it knows th= e=A0current source sequence. =A0Why could it not move the=A0checkpointed so= urce sequence forward to match the=A0current source sequence? =A0What am I = missing?=0A=0AUnless there is an exact match between checkpointed and curre= nt=A0source sequence, how would one ever know if a replication is up-to-dat= e?=0A=0A-- Andreas=0A=0A=0A________________________________=0A From: Filipe= David Manana =0ATo: user@couchdb.apache.org; Andreas = Kemkes =0ASent: Thursday, June 21, 2012 12:40 PM=0ASubje= ct: Re: Replication and checkpoints - what to expect?=0A =0A> The same shou= ld be true for filtered replications if there is no applicable document bet= ween the=A0current source sequence and the last checkpoint. =A0Otherwise yo= u would be always wondering if it has been replicated entirely.=0A=0AThat's= harder. With filtered replication, we only know about sequence=0Anumbers o= f changes that pass the filter. --411857043-1958730519-1342049498=:77413--