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 3EC097D83 for ; Wed, 31 Aug 2011 07:49:00 +0000 (UTC) Received: (qmail 79441 invoked by uid 500); 31 Aug 2011 07:48:58 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 78208 invoked by uid 500); 31 Aug 2011 07:48:53 -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 78198 invoked by uid 99); 31 Aug 2011 07:48:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2011 07:48:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.214.52] (HELO mail-bw0-f52.google.com) (209.85.214.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2011 07:48:41 +0000 Received: by bkbzs2 with SMTP id zs2so740495bkb.11 for ; Wed, 31 Aug 2011 00:48:21 -0700 (PDT) Received: by 10.204.146.132 with SMTP id h4mr63365bkv.287.1314776901382; Wed, 31 Aug 2011 00:48:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.102.139 with HTTP; Wed, 31 Aug 2011 00:48:01 -0700 (PDT) In-Reply-To: <00A9F0C8-30B3-4D17-8722-8100467E37AB@couchbase.com> References: <44FBDC4C-26E3-4935-915F-EE0BA94267EC@couchbase.com> <9046285B-6236-4B8A-A3F5-E545D46BB363@couchbase.com> <00A9F0C8-30B3-4D17-8722-8100467E37AB@couchbase.com> From: Mark Hahn Date: Wed, 31 Aug 2011 00:48:01 -0700 Message-ID: Subject: Re: conflict determination not by fields To: user@couchdb.apache.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org > the script has to be allowed to give up Sure. It could return the winning _id or undefined. On Wed, Aug 31, 2011 at 12:24 AM, Jens Alfke wrote: > > On Aug 30, 2011, at 11:55 PM, Mark Hahn wrote: > > I want the feature of having a script to resolve the conflicts. =A0That > feature never occurred to me before. =A0It would be similar in function > to an update script. > > That could be useful, except that the script has to be allowed to give up= , since some conflicts can=92t be resolved without user intervention. (Or a= t least, without higher-level work than can be done in a callback function = running inside the database server.) > > =97Jens > >