GitHub user jrushford opened a pull request:
https://github.com/apache/trafficserver/pull/1084
TS-4701: Add a new latched parent selection strategy.
Add a new "latched" round robin parent selection strategy. A primary
parent is chosen from the first parent in the parent list and is always
returned as the resulting call to findParent(). When connection failure occurs
and the primary parent is marked down, the state changes the primary to the
next parent in the list and remains latched until the state is changed when a
error causes the primary parent to be marked down.
This strategy is helpful for delivery of live video. A failure and switch
to a new parent origin will cause a video client to retune as the manifest and
video fragment names between origins are different. With the other strategies,
once the retry time for a marked down parent has elapsed, another switch and
retune may occur. To keep retunes to a minimum, this strategy "latches" state
to always use the same healthy parent.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jrushford/trafficserver TS-4701
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/1084.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1084
----
commit ebcf828ae6300db7d770abc35fef16a8b9c82e89
Author: John J. Rushford <[email protected]>
Date: 2016-10-06T20:22:59Z
TS-4701: Add a new latched parent selection strategy.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---