Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 45717FA2F for ; Wed, 27 Mar 2013 16:09:16 +0000 (UTC) Received: (qmail 95340 invoked by uid 500); 27 Mar 2013 16:09:15 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 95281 invoked by uid 500); 27 Mar 2013 16:09:15 -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 95270 invoked by uid 99); 27 Mar 2013 16:09:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Mar 2013 16:09:15 +0000 Date: Wed, 27 Mar 2013 16:09:15 +0000 (UTC) From: "Dave Cottlehuber (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (COUCHDB-1723) conflicts are the rule, not the exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Dave Cottlehuber created COUCHDB-1723: ----------------------------------------- Summary: conflicts are the rule, not the exception Key: COUCHDB-1723 URL: https://issues.apache.org/jira/browse/COUCHDB-1723 Project: CouchDB Issue Type: Improvement Reporter: Dave Cottlehuber All previous versions of CouchDB hide conflicts by default (selecting an arbitrary but consistent winning revision). Expert users can find and resolve conflicts. Instead, expose the true picture by default, this includes; * Reading a document with conflicts returns all conflicting versions, not just the winner. This might manifest as the ?conflicts=true response or could be a 300 (Multiple Choices) response. * Always accept a write (as long as it passes all validate_doc_update functions). This means that no response will give a 409 (Conflict) by default. You can still insist on a matching revision by using the If-Match header. * _rev is frequently assumed to be a user-facing revision/versioning system, our efforts to convince otherwise have failed. Embrace this also and rename the field to _mvcc. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira