Skip to content

Conversation

@jacksontj
Copy link
Contributor

The root issue that TS-4328 and TS-3440 were trying to fix was that ATS was too aggressive in retries to origin (namely after the origin had already recieved the request). The previous patches attempted to have ATS not retry assuming bytes were sent on the wire-- sadly TS-4328 actually only checks that we set bytes to be written to the wire. To fix this we simply check if there was a connection failure to origin, if so we'll assume that it is retryable (since connection failures to origin should only be due to errors writing/connecting etc.).

@zwoop zwoop added this to the 7.0.0 milestone May 23, 2016
@jacksontj jacksontj modified the milestones: 6.2.0, 7.0.0 May 24, 2016
@jacksontj jacksontj self-assigned this May 24, 2016
@SolidWallOfCode
Copy link
Member

This looks like a good change, because server_request_hdr_bytes gets set on scheduling the initial write and not when the bytes are actually written, so that it can be the case that it is non-zero yet the connection failed. So need to double check.

jacksontj added 2 commits May 24, 2016 08:18
… no connection error

The root issue that TS-4328 and TS-3440 were trying to fix was that ATS was too aggressive in retries to origin (namely after the origin had already recieved the request). The previous patches attempted to have ATS not retry assuming bytes were sent on the wire-- sadly TS-4328 actually only checks that we set bytes to be written to the wire. To fix this we simply check if there was a connection failure to origin, if so we'll assume that it is retryable (since connection failures to origin should only be due to errors writing/connecting etc.).
Specifically, we want to test the race condition between KA resuse ATS side and the origin closing the connection
@jacksontj jacksontj merged commit 716fb2d into apache:master May 24, 2016
JosiahWI pushed a commit to JosiahWI/trafficserver that referenced this pull request Jul 19, 2023
apache#658)

* traffic_ctl - Add rpc invoke option. (apache#8695)

Add Input option to invoke a rpc function by specifying the method name and the parameters directly
from the command line.

(cherry picked from commit 20d2241)

* MGMT - Improve invalid rpc param error description and some cleanup. (apache#8696)

(cherry picked from commit 304ea26)

* traffic_ctl - Run a clean up on the output style parameters making it easy to use. 'all,req,resp' are now grouped into the '--format rpc' option. (apache#8704)

(cherry picked from commit 68e69e2)

Co-authored-by: Damian Meden <damian.meden@gmail.com>
Co-authored-by: Brian Neradt <brian.neradt@verizonmedia.com>
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.

3 participants