Skip to content

Conversation

@ejona86
Copy link
Member

@ejona86 ejona86 commented Oct 30, 2025

This fixes a regression with an internal API from 27d1508 where overridding the global bootstrap didn't impact parsing the default bootstrap. So if no global bootstrap was available XdsNameResolver would fail to start even though an override was in place in SharedXdsClientPoolProvider. Instead of dealing with the override in SharedXdsClientPoolProvider, do it in GrpcBootstrapperImpl so XdsNameResolver is ignorant of the source of the default bootstrap.

We want all of this to go away in favor of XDS_CLIENT_SUPPLIER injection, but there needs to be some overlap for migration.

cl/826085025

CC @danielzhaotongliu

This fixes a regression with an internal API from 27d1508 where
overridding the global bootstrap didn't impact parsing the default
bootstrap. So if no global bootstrap was available XdsNameResolver would
fail to start even though an override was in place in
SharedXdsClientPoolProvider. Instead of dealing with the override in
SharedXdsClientPoolProvider, do it in GrpcBootstrapperImpl so
XdsNameResolver is ignorant of the source of the default bootstrap.

We want all of this to go away in favor of XDS_CLIENT_SUPPLIER
injection, but there needs to be some overlap for migration.

cl/826085025
@ejona86 ejona86 requested a review from kannanjgithub October 30, 2025 21:59
@ejona86 ejona86 added the TODO:backport PR needs to be backported. Removed after backport complete label Oct 30, 2025
@ejona86 ejona86 merged commit 589df4e into grpc:master Oct 31, 2025
15 of 17 checks passed
@ejona86 ejona86 deleted the xds-nr-avoid-default branch October 31, 2025 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

TODO:backport PR needs to be backported. Removed after backport complete

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants