rnewson opened a new pull request #3307:
URL: https://github.com/apache/couchdb/pull/3307


   ## Overview
   
   While CouchDB itself never responds with a 408 Request Timeout it is 
possible for a proxy to do so. The CouchDB Replicator treats a 408 as a 
permanent error, increments doc_write_failures, and keeps going. This is 
undesirable. This patch reorders the clauses in couch_replicator_httpc so we 
can easily treat a 408 the same way we treat any 5xx code (by retrying).
   
   ## Testing recommendations
   
   TBD
   
   ## Related Issues or Pull Requests
   
   N/A
   
   ## Checklist
   
   - [x] Code is written and works correctly
   - [ ] Changes are covered by tests
   - [ ] Any new configurable parameters are documented in 
`rel/overlay/etc/default.ini`
   - [ ] A PR for documentation changes has been made in 
https://github.com/apache/couchdb-documentation
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to