You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Chris Anderson (JIRA)" <ji...@apache.org> on 2008/09/05 23:36:44 UTC

[jira] Created: (COUCHDB-115) include conflicting doc-ids in the _bulk_docs 412 response JSON

include conflicting doc-ids in the _bulk_docs 412 response JSON
---------------------------------------------------------------

                 Key: COUCHDB-115
                 URL: https://issues.apache.org/jira/browse/COUCHDB-115
             Project: CouchDB
          Issue Type: Improvement
          Components: HTTP Interface
            Reporter: Chris Anderson
            Priority: Minor


This was discussed on the mailing list here:

http://mail-archives.apache.org/mod_mbox/incubator-couchdb-dev/200807.mbox/%3C5879e51d0807251020vef95736ncbcaf2c81297384@mail.gmail.com%3E

I'm adding it as a ticket because I'm having the experience that it would make my current script run much faster. Also its a little hard to see exactly how to make the patch.

This is a proposed way the 412 response body could look:

{
  "ok":false,
  "conflict_revs": [
    {"id": "0", "attempted_rev": "1001", "current_rev": "1002"},
    {"id": "2", "attempted_rev": "5000", "current_rev": "5002"}
  ]
}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.