Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grpc-js: Don't transition out of idle when discarding subchannels #1770

Conversation

murgatroid99
Copy link
Member

The purpose of transitioning to TRANSIENT_FAILURE here is to drop the connections that the subchannel is using, but an IDLE subchannel also doesn't have an active connection, making that transition pointless. Plus, the subchannel will immediately transition back to IDLE because there is no running backoff timer. The result is pointless log spam, as can be seen in googleapis/nodejs-pubsub#1135 (comment) in the fourth log chunk.

@murgatroid99 murgatroid99 merged commit 21b5ba8 into grpc:@grpc/grpc-js@1.3.x May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants