Skip to content

xds: fix NPE in wrr in TF state#10868

Merged
YifeiZhuang merged 1 commit intogrpc:masterfrom
YifeiZhuang:wrr-NPE
Feb 1, 2024
Merged

xds: fix NPE in wrr in TF state#10868
YifeiZhuang merged 1 commit intogrpc:masterfrom
YifeiZhuang:wrr-NPE

Conversation

@YifeiZhuang
Copy link
Member

The issues was introduced from 1.60
Before #10584 the WRR picker is only created for READY states, therefore the pick result is always A subchannel.
After #10584 the WRR picker is created for TF case, thus we may get a pick result that is empty.

fix b/287153892

@YifeiZhuang YifeiZhuang added the TODO:backport PR needs to be backported. Removed after backport complete label Feb 1, 2024
@YifeiZhuang YifeiZhuang merged commit a97f21b into grpc:master Feb 1, 2024
@YifeiZhuang YifeiZhuang deleted the wrr-NPE branch February 1, 2024 17:06
@YifeiZhuang YifeiZhuang removed the TODO:backport PR needs to be backported. Removed after backport complete label Feb 5, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants