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

[FIXED] JetStream pull based message delivery could drop responses. #2166

Merged
merged 1 commit into from Apr 29, 2021

Conversation

derekcollison
Copy link
Member

GW Routed replies by default pin the map to the destination client connection. For internal callbacks, especially ones that use different internal clients for receiving versus sending the response we would not properly track these routed replies. If proper interest arrived after the request it could be lost.

Signed-off-by: Derek Collison derek@nats.io

/cc @nats-io/core

…se responses.

For internal callbacks we can not rely on the GW routed reply tracking
since internal clients can change who receives vs sends response.

Signed-off-by: Derek Collison <derek@nats.io>
Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@derekcollison derekcollison merged commit cb773f9 into master Apr 29, 2021
@derekcollison derekcollison deleted the lngwr branch April 29, 2021 15:14
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