You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/04/03 12:27:51 UTC

[GitHub] [couchdb-documentation] sureshvv opened a new issue #649: Conflict example broken

sureshvv opened a new issue #649:
URL: https://github.com/apache/couchdb-documentation/issues/649


   In `src/replication/conflicts.rst` the ruby example saya:
   
       # Make three conflicting versions  
       write1({"hello"=>"foo"},"test",rev1)
       write1({"hello"=>"bar"},"test",rev1)
       write1({"hello"=>"baz"},"test",rev1)
   
   Only the first one of the 3 write1 succeeds. The other 2 fail with 409 error and no conflicting versions are created.
   
   Is this a correct example?
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-documentation] wohali commented on issue #649: Conflict example broken

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #649:
URL: https://github.com/apache/couchdb-documentation/issues/649#issuecomment-813159007


   No, the code has bitrotted, it is 8+ years old. The `bulk_docs` operation would have to have `"new_edits": false` added prior to the `docs` array to create those conflicts.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org