Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 99294 invoked from network); 2 Aug 2010 23:52:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Aug 2010 23:52:44 -0000 Received: (qmail 95856 invoked by uid 500); 2 Aug 2010 23:52:43 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 95678 invoked by uid 500); 2 Aug 2010 23:52:43 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 95670 invoked by uid 99); 2 Aug 2010 23:52:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Aug 2010 23:52:42 +0000 X-ASF-Spam-Status: No, hits=-1996.4 required=10.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Aug 2010 23:52:40 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o72NqJ62007449 for ; Mon, 2 Aug 2010 23:52:19 GMT Message-ID: <15983520.129271280793139373.JavaMail.jira@thor> Date: Mon, 2 Aug 2010 19:52:19 -0400 (EDT) From: "Randall Leeds (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-141) Replication should respect since=N seq-num parameter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894751#action_12894751 ] Randall Leeds commented on COUCHDB-141: --------------------------------------- As far as implementation goes, two things I think should be considered: 1) I think a user of this feature would expect that firing off a future replication would pick up where this one left off. In that case, this new parameter should *not* be included in the calculation of the replication id. It should checkpoint as a replication from seq zero. 2) If this parameter is specified, any existing log file should be *ignored*. That way, someone could later go back and say, "Oh, whoops, I actually need to start earlier." An old log, if it exists, does need to be loaded (but not searched) so that it can be updated with an appropriate _rev and not get a conflict. I don't think the log should be truncated in case we want to expose or inspect the historical data later. > Replication should respect since=N seq-num parameter > ---------------------------------------------------- > > Key: COUCHDB-141 > URL: https://issues.apache.org/jira/browse/COUCHDB-141 > Project: CouchDB > Issue Type: Improvement > Components: Database Core > Affects Versions: 1.0 > Reporter: Jan Lehnardt > Priority: Minor > > The changes feed has a since=Seq param which can be used to start listening somewhere other than the beginning of the database history. The replicator should respect this option as well. > This can also be used by administrators who are bringing a CouchDB instance up from a file that was physically copied between servers. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.