grpc-go
grpc-go copied to clipboard
xds/balancer/clusterimpl: Replace run goroutine with grpcsync.CallbackSerializer
Part of #7210.
This PR gets rid of the existing run
goroutine inside clusterimpl
lb policy and instead handles calls from gRPC and from the child policy (to update state) in a grpcsync.CallbackSerializer
. This approach simplifies things as we don't need explicit synchronization.
RELEASE NOTES: none