Skip to content

Conversation

@rob05c
Copy link
Member

@rob05c rob05c commented Jan 5, 2022

Ports #7897 from core strategies to parent_select plugin.

Adds a new peering_ring mode to strategies, which allows parenting to
a consistent-hashed peer instead of the next hierarchical tier,
which can be useful in many situations, especially when the requesting
client itself is requesting different caches for the same key.

Ports apache#7897 from core strategies to parent_select plugin.

Adds a new peering_ring mode to strategies, which allows parenting to
a consistent-hashed peer instead of the next hierarchical tier,
which can be useful in many situations, especially when the requesting
client itself is requesting different caches for the same key.
@rob05c rob05c force-pushed the port-strategy-plugin-7897 branch from fff8220 to 0200d19 Compare January 6, 2022 19:20
@bryancall bryancall requested a review from ywkaras January 11, 2022 00:22
*hostname_len = 0;
*port = 0;
*retry = false;
*no_cache = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is how people who didn't go to graduate school would do this: https://godbolt.org/z/M3z5fY46n

@randall randall added this to the 10.0.0 milestone Jan 18, 2022
@rob05c rob05c merged commit 9d0de53 into apache:master Jan 28, 2022
zwoop pushed a commit that referenced this pull request Feb 17, 2022
Ports #7897 from core strategies to parent_select plugin.

Adds a new peering_ring mode to strategies, which allows parenting to
a consistent-hashed peer instead of the next hierarchical tier,
which can be useful in many situations, especially when the requesting
client itself is requesting different caches for the same key.

(cherry picked from commit 9d0de53)
@zwoop
Copy link
Contributor

zwoop commented Feb 17, 2022

Cherry-picked to v9.2.x

@zwoop zwoop modified the milestones: 10.0.0, 9.2.0 Feb 17, 2022
moonchen pushed a commit to moonchen/trafficserver that referenced this pull request Mar 17, 2022
* asf/9.2.x:
  Revert "DNS: Fix lack of nameserver failover in low use circumstances. (apache#7843)" (apache#8663)
  Fix strategies to initialize scheme (apache#8650)
  DNS: Fix lack of nameserver failover in low use circumstances. (apache#7843)
  Cleanup strategy debug logs (apache#8656)
  Making 9.2.x backwards compatible with 9.1.x (apache#8661)
  Adds two overridable config variables to control parent mark downs. (apache#8595)
  Fix plugin parent_select missing hostname len (apache#8649)
  Ports apache#7925 apache#8365 core to parent_select plugin (apache#8590)
  Ports apache#7897 from core strategies to parent_select plugin. (apache#8580)
  Adding clangd language server files to .gitignore (apache#8640)
  Make TsSharedMutex.h compile on MacOS. (apache#8645)
  In TsSharedMutex.h, make error reporting thread-safe. (apache#8636)
  Revert "body factory does not respect runroot (apache#8388)" (apache#8654)
  doc: Convert miscased Traffic Server references to |TS| macro (apache#8543)
  Add a new --enable-event-tracker configure option (apache#8179)
  Add parent_select plugin strategy caching (apache#8651)
  TLS Session Resumption: fix timed out session (apache#8667)
  Fix to allow running  from outside top_srcdir (apache#8673)
  Send diags output to stderr when running regression tests. (apache#8662)
  Default proxy.config.http.strict_uri_parsing to "2" (apache#8632)
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