Skip to content

Zone#GetEndpoints(): return endpoints in the specified order, not randomly#10587

Merged
yhabteab merged 1 commit intosupport/2.15from
zone-endpoint-order-215
Oct 8, 2025
Merged

Zone#GetEndpoints(): return endpoints in the specified order, not randomly#10587
yhabteab merged 1 commit intosupport/2.15from
zone-endpoint-order-215

Conversation

@yhabteab
Copy link
Copy Markdown
Member

@yhabteab yhabteab commented Oct 8, 2025

…domly

ApiListener#RelayMessageOne() relays every given message to the first connected endpoint Zone#GetEndpoints() returns. Randomness in combination with bad luck can direct more traffic (from a particular network segment) to one master than the admin wants.

This change lets the Zone#endpoints order prefer one endpoint over the other.
@yhabteab yhabteab added this to the 2.15.1 milestone Oct 8, 2025
@yhabteab yhabteab added the area/distributed Distributed monitoring (master, satellites, clients) label Oct 8, 2025
@cla-bot cla-bot bot added the cla/signed label Oct 8, 2025
@yhabteab yhabteab requested a review from julianbrost October 8, 2025 11:51
@yhabteab yhabteab merged commit 76faa63 into support/2.15 Oct 8, 2025
51 of 52 checks passed
@yhabteab yhabteab deleted the zone-endpoint-order-215 branch October 8, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/distributed Distributed monitoring (master, satellites, clients) cla/signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants