Hello,
It is important to know how does your instalation perform. Haproxy masks
connection errors, which is extremely good for a client but it is bad for
an administrator (except people believing that "ignorance is a bless").
Attached patch adds retries and redispatches counters, so now haproxy:
- For server:
- counts retried connections (masked or not)
- For backends:
- counts retried connections (masked or not) that happened to
a slave server
- counts redispatched connections
- does not count successfully redispatched connections as backend errors.
Errors are increased only when client does not get a valid response,
in other words: with failed redispatch or when this function is not
enabled.
- For statistics:
- display Retr (retries) and Redis (redispatches) as a "Warning"
information.
I think it is a post-1.3.12 material.
Best regards,
Krzysztof Olędzki
Received on 2007/09/23 15:29