From dev-return-6010-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Wed Aug 19 00:59:17 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 69676 invoked from network); 19 Aug 2009 00:59:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Aug 2009 00:59:16 -0000 Received: (qmail 74110 invoked by uid 500); 19 Aug 2009 00:59:35 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 74040 invoked by uid 500); 19 Aug 2009 00:59:35 -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 74028 invoked by uid 99); 19 Aug 2009 00:59:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 00:59:35 +0000 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 (athena.apache.org: domain of adam.kocoloski@gmail.com designates 74.125.92.26 as permitted sender) Received: from [74.125.92.26] (HELO qw-out-2122.google.com) (74.125.92.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 00:59:25 +0000 Received: by qw-out-2122.google.com with SMTP id 3so1320385qwe.29 for ; Tue, 18 Aug 2009 17:59:05 -0700 (PDT) Received: by 10.224.117.145 with SMTP id r17mr6051556qaq.7.1250643545044; Tue, 18 Aug 2009 17:59:05 -0700 (PDT) Received: from ?10.0.1.2? (c-71-232-49-44.hsd1.ma.comcast.net [71.232.49.44]) by mx.google.com with ESMTPS id 7sm2126880qwf.37.2009.08.18.17.59.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 18 Aug 2009 17:59:04 -0700 (PDT) Message-Id: <92A8D1C2-8E78-438F-829A-BB5C04276918@apache.org> From: Adam Kocoloski To: dev@couchdb.apache.org In-Reply-To: <7B71755C-E5ED-430F-BEF0-2B825031C3DA@apache.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: continuous replication API discussion Date: Tue, 18 Aug 2009 20:59:01 -0400 References: <85615F74-7518-4AA3-AD9C-56046B2D38F2@apache.org> <982D75FD-3C93-4666-86F8-ECB683B0FD3F@apache.org> <73E558B8-9A88-436D-AEC4-8034248537AC@googlemail.com> <7B71755C-E5ED-430F-BEF0-2B825031C3DA@apache.org> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org On Aug 18, 2009, at 7:42 PM, Jan Lehnardt wrote: > But maybe we don't even need that for 0.10? I'd be happy to ship > with the ability to trigger continuous replication on server startup > that doesn't survive restarts and leave that to the user for the > time being until we figured out a good way to do the config db. I think that's best at this point. POSTing to _replicate with a "continuous":true field in the body will generate a 202 Accepted response that included a "_local_id" field in the body. The downside (as Paul pointed out online) is that the only way to cancel a continuous replication triggered this way is to restart the server. Adam