I am using Java gRPC version 1.24.1. When debugging some timed out requests I found out that sometimes client calls all hedging requests ( 3 in my case) on the same server endpoint.
NameResolver.Listener.onAddresses() got updated with 3 distinct endpoints before first call was made.
Is it a bug in gRPC code ? Even if 2 out of 3 servers were unreachable, having all hedging attempts go to a single endpoint is not the best option.
status-code=DEADLINE_EXCEEDED status-description=deadline exceeded after 9999958644ns. [closed=[], open=[[remote_addr=xxx.com/xxx.xxx.xxx.xxx:3112], [remote_addr=xxx.com/xxx.xxx.xxx.xxx:3112], [remote_addr=xxx.com/xxx.xxx.xxx.xxx:3112]]]
Thanks,
David