seancribbs/ripple — comment on commit e5f24a5d54cd1f8f3bac3354cbbbd0c71b8a8d6d
File:  line 0
By aphyr:

Please read my comment, or the code. It's not that they're application-specific, it's that retrying those errors here will cause:

- connection teardown and deallocation
- connection reallocation
- node error rates to be recalculated

This not only slows down the client (lots of times, mutexes, network latency) but can cause incorrect behavior by raising node error rates for nodes which are actually able to service requests. The node selector could actually prefer *down* hosts for new connections.