Skip to content

xds: check that resources are received from the right servers - #13146

Merged
kannanjgithub merged 2 commits into
grpc:masterfrom
kannanjgithub:cpc-check-ondata
Oct 29, 2026
Merged

kannanjgithub merged 2 commits into
grpc:masterfrom
kannanjgithub:cpc-check-ondata

Conversation

@kannanjgithub

@kannanjgithub kannanjgithub commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Ensure that handleResourceUpdate only applies resource updates, errors,
or SotW absent notices to subscribers whose active control plane client
matches the controlPlaneClient that received the ADS response.

Related similar fix in gRPC-core: grpc/grpc#43695

Ensure that handleResourceUpdate only applies resource updates, errors,
or SotW absent notices to subscribers whose active control plane client
matches the controlPlaneClient that received the ADS response.

TAG=agy
CONV=e27e4459-da3e-4c14-b2a1-2055f0b9b5d1
… ADS response

Add sendDiscoveryResponse to XdsTestControlPlaneService and update
isolatedResourceUpdates test in XdsClientFederationTest to directly
send an unsolicited cross-authority ADS response on the wire, properly
exercising the control plane isolation check in XdsClientImpl.

TAG=agy
CONV=e27e4459-da3e-4c14-b2a1-2055f0b9b5d1
@kannanjgithub
kannanjgithub merged commit adcae4a into grpc:master Oct 29, 2026
18 checks passed
@kannanjgithub
kannanjgithub deleted the cpc-check-ondata branch October 29, 2026 08:56
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