As far as I understand from the documentation, hosts that are unresponsive are supposed to be marked as "down" in hostdb and retried according to the connect_attempts_max_retries_down_server setting. However with the following steps this does not seem to be happening:
- Attempt to make a forward-proxied request to a host that is not responding at all (error is
ETIMEDOUT).
- Note in trace log that
connect_attempts_max_retries attempts are made.
- Try the same request again.
connect_attempts_max_retries attempts are still made, the count never goes down to connect_attempts_max_retries_down_server.
In particular if the latter is set to 0, ATS still always tries to connect and the trace message Not connecting to the server because it is marked down from HttpSM.cc never appears.
Is this a bug or am I misunderstanding how hostdb is supposed to work?
As far as I understand from the documentation, hosts that are unresponsive are supposed to be marked as "down" in hostdb and retried according to the
connect_attempts_max_retries_down_serversetting. However with the following steps this does not seem to be happening:ETIMEDOUT).connect_attempts_max_retriesattempts are made.connect_attempts_max_retriesattempts are still made, the count never goes down toconnect_attempts_max_retries_down_server.In particular if the latter is set to 0, ATS still always tries to connect and the trace message
Not connecting to the server because it is marked downfromHttpSM.ccnever appears.Is this a bug or am I misunderstanding how hostdb is supposed to work?