nickva opened a new pull request, #5989: URL: https://github.com/apache/couchdb/pull/5989
In `serialize_worker_startup=false` mode it was possible before to get a function_clause error in `append_update_replies/3`. The `function_clause` was because of an empty `Docs` list and a non-empty `Replies` list. That happened when we had at least two conflicted replies for a doc, one arriving and others in-flight. The arriving one would knock out the doc from the expected replies list, such that when the second reply arrived, it wouldn't match up with anything. To fix this, keep track of conflicts separately and check that conflicted list before extra workers spawn, and also avoid altering the grouped docs structure for in-flight requests -- 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]
