Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 88720 invoked from network); 2 Oct 2009 16:35:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Oct 2009 16:35:48 -0000 Received: (qmail 43124 invoked by uid 500); 2 Oct 2009 16:35:48 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 43032 invoked by uid 500); 2 Oct 2009 16:35:47 -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 43022 invoked by uid 99); 2 Oct 2009 16:35:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 16:35:47 +0000 X-ASF-Spam-Status: No, hits=-1998.8 required=10.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 16:35:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E14E0234C052 for ; Fri, 2 Oct 2009 09:35:23 -0700 (PDT) Message-ID: <500986903.1254501323921.JavaMail.jira@brutus> Date: Fri, 2 Oct 2009 09:35:23 -0700 (PDT) From: "Adam Kocoloski (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Closed: (COUCHDB-516) Replication: _replicate does not finish replication in one pass and has to be invoked repeatedly In-Reply-To: <1976870648.1254414923850.JavaMail.jira@brutus> 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-516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Kocoloski closed COUCHDB-516. ---------------------------------- Ning Tan replied on dev@ that the bug is resolved, so we can close this out. > Replication: _replicate does not finish replication in one pass and has to be invoked repeatedly > ------------------------------------------------------------------------------------------------ > > Key: COUCHDB-516 > URL: https://issues.apache.org/jira/browse/COUCHDB-516 > Project: CouchDB > Issue Type: Bug > Components: Database Core > Affects Versions: 0.10 > Environment: Mac OS X 10.5 w/ CouchDB 0.10.x multiple revisions (latest is 820436) > Ubuntu Desktop 9.04 w/ CouchDB 0.10.x multiple revisions (latest is 818247) > Reporter: Ning Tan > Assignee: Adam Kocoloski > Fix For: 0.10 > > Attachments: replication.txt > > > When we replicate between a remote database and a local one (pulling from remote into local), we are observing partial replications, meaning that we have to issue repeated _replicate calls for the replication to complete. For a database with 17,000 documents, for example, it could take up to 7 calls for the entire database to replicate into an empty one. Each time, the number of documents replicated over seemed random. > The use case is very simple--replicating a database into an empty one with no concurrent writes, no additional load or i/o, etc. The databases involved are a mixture of the 10.0.x code base natively built on Ubuntu and Mac. > It seems to me that every (not all) partial replication process is associated with a corresponding entry in the log that says "recording a checkpoint at source update_seq .....". (i.e. you can match the recorded_seq number in the replication response with the checkpoint update_seq numbers in the log). > Futon vs. curl doesn't make a difference. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.