Skip to content

Conversation

@rob05c
Copy link
Member

@rob05c rob05c commented Aug 10, 2022

These exclude_hostname and exclude_port args were needed due to limitations on events, the parent_select plugin needed to get the subsequent parent to try, if necessary, because no event would fire. So it needed to say, "give me the next parent if this one were marked down, even though it isn't."

Their usage got lost in the parent_select consistent hash refactor (#8590), which I thought would break failover.

But I just extensively tested failover, for DNS, network, and internal code failures, and everything worked up to 3 tries. So it seems either #8590 (#7925 and #8365) or possibly the recent HostDB refactor (#8953) changed something to not make it necessary.

So this PR cleans up the parameters and variables, and just removes them entirely.

This is purely cleanup, doesn't affect behavior. But I recommend backporting to 9.2.x just to reduce future merge conflicts.

@rob05c rob05c added the Plugins label Aug 10, 2022
@rob05c rob05c self-assigned this Aug 10, 2022
@rob05c rob05c added this to the 10.0.0 milestone Aug 10, 2022
@rob05c rob05c merged commit b477c8d into apache:master Aug 15, 2022
zwoop pushed a commit that referenced this pull request Aug 23, 2022
@zwoop
Copy link
Contributor

zwoop commented Aug 23, 2022

Cherry-picked to v9.2.x

@zwoop zwoop modified the milestones: 10.0.0, 9.2.0 Aug 23, 2022
cmcfarlen pushed a commit to cmcfarlen/trafficserver that referenced this pull request Aug 23, 2022
masaori335 pushed a commit to masaori335/trafficserver that referenced this pull request Feb 21, 2023
* asf/9.2.x:
  Updated ChangeLog
  utilize proxy.config.hostdb.host_file.interval config variable (apache#9039)
  Remove plugin parent_select unused symbols (apache#9023)
  Require use of 'override' keyword when valid. (apache#8737)
  Fix compile error on macOS (apache#9047)
  Validate that content length header matches object size on cache read (apache#8976)
  Fix reload memory leak (apache#9041)
  Update prepare_proxy_verifier.sh to work in non-git directories (apache#9048)
  Change linux/fs include to build with glibc 2.36 (apache#9027)
  ts::shared_mutex - Fix lock counting for debug (apache#9040)
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.

4 participants