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

deduplicate addresses within a single EAG #11342

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

larry-safran
Copy link
Contributor

No description provided.

@larry-safran larry-safran merged commit 3777c30 into grpc:master Jun 27, 2024
12 of 13 checks passed
@larry-safran larry-safran deleted the dedup_addresses branch June 27, 2024 23:12
@@ -100,6 +103,7 @@ public Status acceptResolvedAddresses(ResolvedAddresses resolvedAddresses) {
handleNameResolutionError(unavailableStatus);
return unavailableStatus;
}
cleanServers.add(removeDuplicateAddresses(eag));
Copy link
Member

Choose a reason for hiding this comment

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

If DNS returned duplicate addresses, we'd have two EAGs with one address each. This removeDuplicateAddresses() would do nothing to remove the duplication across those EAGs. Don't we need that?

larry-safran added a commit to larry-safran/grpc-java that referenced this pull request Aug 13, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants