incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-115) include conflicting doc-ids in the _bulk_docs 412 response JSON
Date Fri, 05 Sep 2008 21:36:44 GMT
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.


Mime
View raw message