Skip to content

xds: Enable dualstack flag - #8134

Merged
arjan-bal merged 1 commit into
grpc:v1.71.xfrom
arjan-bal:enable-xds-dualstack
Mar 3, 2025
Merged

xds: Enable dualstack flag#8134
arjan-bal merged 1 commit into
grpc:v1.71.xfrom
arjan-bal:enable-xds-dualstack

Conversation

@arjan-bal

Copy link
Copy Markdown
Contributor

The flag was enabled in master as part of #8126. This PR enabled only the xDS endpoints support, leaving the new pickfirst policy flag disabled.

RELEASE NOTES:

  • xds: LB policies will receive additional addresses for endpoints which are specified in the additional_addresses field in the Endpoint message. The additional addresses will be present in the ResolverState.Endpoints passed to UpdateClientConnState method of the balancers. To disable this feature, set the environment variable GRPC_EXPERIMENTAL_XDS_DUALSTACK_ENDPOINTS to false (case insensitive).

@arjan-bal arjan-bal added this to the 1.71 Release milestone Feb 28, 2025
@arjan-bal arjan-bal added Type: Feature New features or improvements in behavior Area: xDS Includes everything xDS related, including LB policies used with xDS. labels Feb 28, 2025
@codecov

codecov Bot commented Feb 28, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.25%. Comparing base (bf0c885) to head (0620870).
Report is 1 commits behind head on v1.71.x.

Additional details and impacted files
@@             Coverage Diff             @@
##           v1.71.x    #8134      +/-   ##
===========================================
- Coverage    82.39%   82.25%   -0.15%     
===========================================
  Files          387      387              
  Lines        38954    38954              
===========================================
- Hits         32096    32041      -55     
- Misses        5554     5596      +42     
- Partials      1304     1317      +13     

see 19 files with indirect coverage changes

@easwars

easwars commented Feb 28, 2025

Copy link
Copy Markdown
Contributor

Why do we want to enable only one of the two flags?

@arjan-bal

Copy link
Copy Markdown
Contributor Author

Why do we want to enable only one of the two flags?

All petiole policies use the new pickfirst for delegation. The only user-visible benefit of toggling the default pickfirst would be enabling Happy Eyeballs with a standalone pickfirst. After discussing with Doug and Mark, we decided it's acceptable to advertise xDS Dualstack support without changing the default pickfirst since known xDS pickfirst users do not want to use Dualstack.

Most gRPC users rely on the default pickfirst. By delaying its adoption as the default to a future release, we allow time to gather feedback from internal users and those using the master branch.

@easwars easwars assigned arjan-bal and unassigned dfawley Feb 28, 2025
@arjan-bal
arjan-bal merged commit 012f8bf into grpc:v1.71.x Mar 3, 2025
@arjan-bal
arjan-bal deleted the enable-xds-dualstack branch March 3, 2025 06:12
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Area: xDS Includes everything xDS related, including LB policies used with xDS. Type: Feature New features or improvements in behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants