nickva opened a new pull request, #6092:
URL: https://github.com/apache/couchdb/pull/6092

   In sws=true case, secondary replies (from non-owner) should generate 
accepted responses instead of conflicts.
   
   With sws=true the owner already replied with `ok` means there at least one 
good update of that document. Secondaries returning conflicts means they are 
simply lagging. That's the same calculation logic as previously (sws=false) 
when we got one ok and two errors. Otherwise we get into a situation when 
clients cannot make progress: they get a rev, do the update (on the owner) but 
then keep getting conflicts until the internal replicator catches up. Retrying 
will fix the problem eventually but we don't want to emit too many 409 and 
that's not optimal.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to