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
#7960 fixed a case for grpclb that would cause it to hang if there were no fallback addresses. Now in that case instead of hanging it produces the error "UNAVAILABLE: Unable to fallback, no fallback addresses found", which is much better than hanging. However, it doesn't give any information to actually debug what's happening.
I'm thinking something along the lines of:
If there are fallback addresses, use one of their subchannel's error (ideally we'd round-robin over them or some such, but baby steps)
If we have no primary addresses (RPC to gRPCLB has never been successful), we should include the gRPC-LB contact error information (the information from the failing RPC, or create a message describing the RPC hasn't returned yet)
Otherwise, there are primary addresses and we should use one of their subchannel's error (ideally we'd round-robin over them or some such, but baby steps)