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
Note that the stub server Start method waits until the client conn is ready before returning. So the only explanation I can think of is that the LB policy is picking a connection for the RPC asynchronously (i.e. ss.Client.FullDuplexCall(ctx) does not wait for the LB policy to pick a connection - FWIW this behavior differs e.g. from C++), and that the LB policy's picking of a connection is sometimes losing the race against ss.S.Stop() - in that case, the previously ready connection would tear down and not come back up, and RPC's would fail with such an error.
Filing this bug to confirm the root cause though.
The text was updated successfully, but these errors were encountered:
This issue is labeled as requiring an update from the reporter, and no update has been received after 6 days. If no update is provided in the next 7 days, this issue will be automatically closed.
This is a spinoff from the review conversation in #4311 (comment)
If the
rpcStartedOnServer
channel is removed from that test, some of RPCs will fail with:Note that the stub server
Start
method waits until the client conn is ready before returning. So the only explanation I can think of is that the LB policy is picking a connection for the RPC asynchronously (i.e.ss.Client.FullDuplexCall(ctx)
does not wait for the LB policy to pick a connection - FWIW this behavior differs e.g. from C++), and that the LB policy's picking of a connection is sometimes losing the race againstss.S.Stop()
- in that case, the previously ready connection would tear down and not come back up, and RPC's would fail with such an error.Filing this bug to confirm the root cause though.
The text was updated successfully, but these errors were encountered: