Skip to content

Conversation

@murgatroid99
Copy link
Member

I believe this is the cause of #2621. This is a very similar problem to the one fixed in #2559. The potential incorrect behavior here is that a subchannel in the subchannel list is the same as the one that has been picked, but it is wrapped with a different object so the check here compares false, resulting in removing the listener erroneously. That would cause pick_first to not react to subsequent changes in the subchannel state, which matches the log shown in #2621. I don't actually know of a code path that could cause this this outcome, but it's best to be consistent in how we check this anyway.

@murgatroid99 murgatroid99 force-pushed the grpc-js_pick_first_reset_listener_fix branch from efdcc28 to 6d4e08c Compare November 27, 2023 17:28
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.

2 participants