rnewson commented on PR #5371:
URL: https://github.com/apache/couchdb/pull/5371#issuecomment-4008351859

   rewritten again and made much simpler and yet more capable. It handles nodes 
in maintenance mode and nodes that are offline without introducing spurious 
conflicts. paint is still very wet and I'll be taking it through more tests 
tomorrow.
   
   The basic idea is to start a worker per range at a time. When that worker 
replies, we start the 'next' worker for that range (on another node) but only 
after filtering out any docs that got a conflict reply.
   
   We still short circuit quorum for a conflict, so a PUT of one doc that would 
get a conflict only starts one worker then returns the result.
   
   We still start all workers eventually, but we only wait for enough responses 
to reach quorum.
   
   


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