You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Alexander Shorin (Commented) (JIRA)" <ji...@apache.org> on 2012/03/16 13:39:39 UTC

[jira] [Commented] (COUCHDB-1443) Duplicate documents on concurrent insert

    [ https://issues.apache.org/jira/browse/COUCHDB-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231111#comment-13231111 ] 

Alexander Shorin commented on COUCHDB-1443:
-------------------------------------------

"It is recommended that you avoid POST when possible, because proxies and other network intermediaries will occasionally resend POST requests, which can result in duplicate document creation." via http://wiki.apache.org/couchdb/HTTP_Document_API#POST

                
> Duplicate documents on concurrent insert
> ----------------------------------------
>
>                 Key: COUCHDB-1443
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1443
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.1.1
>            Reporter: Vladimir Petrukhin
>
> I started 15000 parallel connections to CouchDb and writing 1 doc per connection. I expected 15000 docs in CouchDb. But I get 15008 or 15014 or etc.
> I found that docs has different ids, but same content and revision.
> I use simple POST method to insert the docs. Not in batch mode.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira