Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 5229 invoked from network); 18 Feb 2009 00:58:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Feb 2009 00:58:52 -0000 Received: (qmail 57525 invoked by uid 500); 18 Feb 2009 00:58:46 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 57497 invoked by uid 500); 18 Feb 2009 00:58:46 -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 57486 invoked by uid 99); 18 Feb 2009 00:58:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2009 16:58:46 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=FS_REPLICA,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dionne@dionne-associates.com designates 67.222.38.31 as permitted sender) Received: from [67.222.38.31] (HELO outbound-mail-141.bluehost.com) (67.222.38.31) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 18 Feb 2009 00:58:36 +0000 Received: (qmail 21117 invoked by uid 0); 18 Feb 2009 00:55:51 -0000 Received: from unknown (HELO host183.hostmonster.com) (74.220.207.183) by outboundproxy5.bluehost.com with SMTP; 18 Feb 2009 00:55:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=dionne-associates.com; h=Received:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer:X-Identified-User; b=nmN+/yZYidkqU6HIz4+AkAxNM5SGD5gKioodAYZMczTNSJibJMX2QKC1AAtt6MbuXGqb+1fojVKSJ37H04hdQ/nJQjxl9TmrJRYHPSa7pEdpViHNFp8G52Qr2Fd/dOAE; Received: from h-67-100-107-229.nycmny83.dynamic.covad.net ([67.100.107.229] helo=[192.168.2.100]) by host183.hostmonster.com with esmtpa (Exim 4.69) (envelope-from ) id 1LZalR-0006bU-4z for user@couchdb.apache.org; Tue, 17 Feb 2009 17:58:13 -0700 Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <78154E1F-77C3-4F5F-B4A3-97B9EB2D6CF2@mooseyard.com> References: <78154E1F-77C3-4F5F-B4A3-97B9EB2D6CF2@mooseyard.com> Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Message-Id: <043D281B-B6FE-41C6-A4AF-280F40291BFD@dionne-associates.com> Content-Transfer-Encoding: quoted-printable From: Robert Dionne Subject: Re: Any docs or specs on how replication works? Date: Tue, 17 Feb 2009 19:57:25 -0500 To: user@couchdb.apache.org X-Mailer: Apple Mail (2.753.1) X-Identified-User: {2551:host183.hostmonster.com:dionneas:dionne-associates.com} {sentby:smtp auth 67.100.107.229 authed with dionne@dionne-associates.com} X-Virus-Checked: Checked by ClamAV on apache.org This doc has a bit on replication: http://horicky.blogspot.com/2008/10/couchdb-implementation.html On Feb 17, 2009, at 12:44 PM, Jens Alfke wrote: > I'd like to learn how CouchDB's replication protocol works. Not at =20 > the implementation level (I don't read Erlang well enough for =20 > that!) but are there any design docs that describe what's happening =20= > architecturally? > > Conceptually, I can imagine it being based on an "_all_docs_by_seq" =20= > query, where the pulling server remembers the last sequence ID it's =20= > pulled in the past, grabs all the newer docs, and puts them to its =20 > local database. Is there more to it than that? > > =97Jens