bryancall commented on PR #12733: URL: https://github.com/apache/trafficserver/pull/12733#issuecomment-3614826428
**Why limit to 1 retry:** The retry logic intentionally allows only one additional OS_DNS hook call rather than using `connect_attempts_max_retries`. This avoids a combinatorial explosion of connection attempts: - With 1 OS_DNS retry and `connect_attempts_max_retries=3`: up to 6 total connection attempts (2 addresses × 3 retries each) - If we used `connect_attempts_max_retries` for OS_DNS retries too: up to 12 attempts (4 addresses × 3 retries each) The single retry gives the plugin one opportunity to provide an alternative address on connection failure, which matches what issue #12611 requested. This keeps latency bounded while still enabling the documented retry behavior. -- 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]
