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 DC07F9082 for ; Fri, 22 Jun 2012 02:03:32 +0000 (UTC) Received: (qmail 48790 invoked by uid 500); 22 Jun 2012 02:03:31 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 48755 invoked by uid 500); 22 Jun 2012 02:03:31 -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 48746 invoked by uid 99); 22 Jun 2012 02:03:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2012 02:03:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [87.117.198.154] (HELO zoe.mltserver-three.co.uk) (87.117.198.154) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2012 02:03:22 +0000 Received: from 02da48e6.bb.sky.com ([2.218.72.230]:53511 helo=[192.168.0.4]) by zoe.mltserver-three.co.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77) (envelope-from ) id 1ShtDB-0002rP-FO for user@couchdb.apache.org; Fri, 22 Jun 2012 03:03:01 +0100 Date: Fri, 22 Jun 2012 03:03:00 +0100 From: Martin Hewitt To: user@couchdb.apache.org Message-ID: <4816C934ECDA4C89B5B61A4E3A4E4B57@thenoi.se> Subject: _replicator endpoint and idempotency X-Mailer: sparrow 1.6.1 (build 1081.51) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="4fe3d254_1716703b_18a" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - zoe.mltserver-three.co.uk X-AntiAbuse: Original Domain - couchdb.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - thenoi.se --4fe3d254_1716703b_18a Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all, Just a quick question - if I have a replication payload and I post the same payload twice to the _replicator endpoint, will it create two replication jobs or is the _id field in the _replicator db a hash of the document? I'm trying to ensure continuous master-master behaviour and I'm wondering if I need to read and check against the contents of the _replicator db or if CouchDB can sort it out for me! Thanks, Martin --4fe3d254_1716703b_18a--