Skip to content

Add AuTest for connect_attempts_max_retries_down_server#12922

Draft
masaori335 wants to merge 1 commit intoapache:masterfrom
masaori335:asf-master-hostdb-autest-down-server
Draft

Add AuTest for connect_attempts_max_retries_down_server#12922
masaori335 wants to merge 1 commit intoapache:masterfrom
masaori335:asf-master-hostdb-autest-down-server

Conversation

@masaori335
Copy link
Contributor

@masaori335 masaori335 commented Feb 27, 2026

This is an effort to verify connect_attempts_max_retries_down_server behavior.

The doc for proxy.config.http.connect_attempts_max_retries_down_server says below.

Maximum number of connection attempts Traffic Server can make while an origin is marked down per request.

Also doc of proxy.config.http.connect_attempts_max_retries says below

Once the maximum number of retries is reached, the origin is marked down. After this, the setting proxy.config.http.connect_attempts_max_retries_down_server is used to limit the number of retry attempts to the known down origin.

However, I don't see ATS makes connection attempts against down servers. From my understanding, HostDBRecord::select_best_http doesn't return HostDBInfo which is in down state. How HttpSM can try to down servers?

@masaori335 masaori335 self-assigned this Feb 27, 2026
@masaori335 masaori335 force-pushed the asf-master-hostdb-autest-down-server branch from 60af02a to 8e43f53 Compare February 27, 2026 06:46
@masaori335 masaori335 force-pushed the asf-master-hostdb-autest-down-server branch from 8e43f53 to 473012f Compare February 27, 2026 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant