Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve selection criteria for srvMaxHosts #1590

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

joykim1005
Copy link
Contributor

@joykim1005 joykim1005 commented Dec 31, 2024

Ticket

JAVA-4400

Description

This PR improves the selection criteria for srvMaxHosts. The net result is that it will keep existing nodes, discard deleted nodes, and fill up to srvMaxHosts from a random shuffle of newly discovered nodes from the SRV response. It also updates the prose test to match the spec.

Testing

@joykim1005 joykim1005 requested review from a team and stIncMale and removed request for a team January 6, 2025 14:20
@joykim1005 joykim1005 marked this pull request as ready for review January 7, 2025 15:36
@joykim1005 joykim1005 requested a review from katcharov January 7, 2025 18:38
@jyemin jyemin removed the request for review from stIncMale January 7, 2025 22:17
@jyemin
Copy link
Contributor

jyemin commented Jan 7, 2025

I removed @stIncMale since he is currently overloaded. @katcharov please let me know if you think a second reviewer is needed for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants