Skip to content

Conversation

@connelly38
Copy link
Member

Fixed a case where received messages may not be released properly if a lot of requests are timing out before their responses are received. This can happen when the netty channel thread receives an older response while a current response is being processed by a driver thread.
The fix is to make sure the channel's state attribute is cleared as soon as the channel handler receives a valid response and notifies the driver thread. The state is also cleared when the driver thread releases the channel.

a lot of requests are timing out before their responses are received.
@connelly38 connelly38 requested a review from gmfeinberg January 3, 2022 18:17
@connelly38 connelly38 merged commit 2b062fc into main Jan 3, 2022
@connelly38 connelly38 deleted the bugfix/refcnt_error branch January 3, 2022 20:48
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