You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using my own balancer.PickerBuilder in my program. I attach some info to the address with the func SetAddrInfo in weightedroundrobin.go and read it from Build(info PickerBuildInfo) balancer.Picker.
It works well in grpc-go@v1.34.0, but failed in grpc-go@v1.35.0.
I am using my own balancer.PickerBuilder in my program. I attach some info to the address with the func SetAddrInfo in weightedroundrobin.go and read it from
Build(info PickerBuildInfo) balancer.Picker
.It works well in grpc-go@v1.34.0, but failed in grpc-go@v1.35.0.
I read the release note and find this strip attributes from addresses.
In the function
It uses b.subConns to pass ready connections to the picker. But the key in b.subConns contains no attributes now. So I got
empty attributes and my program failed.
It is a feature or a bug? What should I do?
The text was updated successfully, but these errors were encountered: